diff options
Diffstat (limited to 'src/engine/machina/Node.hpp')
-rw-r--r-- | src/engine/machina/Node.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/machina/Node.hpp b/src/engine/machina/Node.hpp index bd1a66e..2f9c2e4 100644 --- a/src/engine/machina/Node.hpp +++ b/src/engine/machina/Node.hpp @@ -48,10 +48,13 @@ public: void add_enter_action(SharedPtr<Action> action); void remove_enter_action(SharedPtr<Action> action); - + void add_exit_action(SharedPtr<Action> action); void remove_exit_action(SharedPtr<Action> action); + SharedPtr<Action> enter_action() { return _enter_action; } + SharedPtr<Action> exit_action() { return _exit_action; } + void enter(SharedPtr<Raul::MIDISink> driver, BeatTime time); void exit(SharedPtr<Raul::MIDISink> driver, BeatTime time); |