aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/actors/lead_actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/actors/lead_actor.cpp')
-rw-r--r--engines/pink/actors/lead_actor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/pink/actors/lead_actor.cpp b/engines/pink/actors/lead_actor.cpp
index 80a9281598..23c94eddc9 100644
--- a/engines/pink/actors/lead_actor.cpp
+++ b/engines/pink/actors/lead_actor.cpp
@@ -25,6 +25,8 @@
#include "../cursor_mgr.h"
#include "engines/pink/sequences/sequencer.h"
#include "../archive.h"
+#include "../page.h"
+#include "../pink.h"
namespace Pink {
@@ -35,4 +37,9 @@ void LeadActor::deserialize(Archive &archive) {
_sequencer = static_cast<Sequencer*>(archive.readObject());
}
+void LeadActor::setNextExecutors(Common::String &nextModule, Common::String &nextPage) {
+ //TODO check for lead actor state
+ _page->getGame()->setNextExecutors(nextModule, nextPage);
+}
+
} // End of namespace Pink