diff options
Diffstat (limited to 'src/engine/machina')
-rw-r--r-- | src/engine/machina/Action.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/machina/Action.hpp b/src/engine/machina/Action.hpp index 2bffaa3..16c9b58 100644 --- a/src/engine/machina/Action.hpp +++ b/src/engine/machina/Action.hpp @@ -22,6 +22,7 @@ #include <iostream> #include <raul/Deletable.h> #include <raul/TimeSlice.h> +#include <raul/Stateful.h> #include "types.hpp" namespace Machina { @@ -29,8 +30,10 @@ namespace Machina { /** An Action, executed on entering or exiting of a state. */ -struct Action : public Raul::Deletable { +struct Action : public Raul::Deletable, public Raul::Stateful { virtual void execute(Raul::BeatTime /*time*/) {} + + virtual void write_state(Raul::RDFWriter& writer); }; |