diff options
author | Paul Gilbert | 2016-08-19 20:48:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-19 20:48:05 -0400 |
commit | a5a1a08c503d9e32352f67b90650bc604959ea5a (patch) | |
tree | be608ff67f5c7150f69c61510e9ff4349ad575e2 /engines/titanic/game/doorbot_home_handler.cpp | |
parent | 5ec6f572c1b7888b4111566fcf6727ade3f043ea (diff) | |
download | scummvm-rg350-a5a1a08c503d9e32352f67b90650bc604959ea5a.tar.gz scummvm-rg350-a5a1a08c503d9e32352f67b90650bc604959ea5a.tar.bz2 scummvm-rg350-a5a1a08c503d9e32352f67b90650bc604959ea5a.zip |
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/doorbot_home_handler.cpp')
-rw-r--r-- | engines/titanic/game/doorbot_home_handler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/game/doorbot_home_handler.cpp b/engines/titanic/game/doorbot_home_handler.cpp index b848308845..92898ca626 100644 --- a/engines/titanic/game/doorbot_home_handler.cpp +++ b/engines/titanic/game/doorbot_home_handler.cpp @@ -24,6 +24,10 @@ namespace Titanic { +BEGIN_MESSAGE_MAP(CDoorbotHomeHandler, CGameObject) + ON_MESSAGE(EnterViewMsg) +END_MESSAGE_MAP() + CDoorbotHomeHandler::CDoorbotHomeHandler() { } @@ -37,4 +41,10 @@ void CDoorbotHomeHandler::load(SimpleFile *file) { CGameObject::load(file); } +bool CDoorbotHomeHandler::EnterViewMsg(CEnterViewMsg *msg) { + CDoorbotNeededInHomeMsg neededMsg; + neededMsg.execute("Doorbot"); + return true; +} + } // End of namespace Titanic |