MADS: Added skeleton framework for game scene classes

This commit is contained in:
Paul Gilbert 2014-02-24 00:20:53 -05:00
parent 8ee283d921
commit 37b788b7dd
15 changed files with 576 additions and 18 deletions

View file

@ -329,4 +329,16 @@ void MessageDialog::show() {
}
}
/*------------------------------------------------------------------------*/
Dialogs *Dialogs::init(MADSEngine *vm) {
if (vm->getGameID() == GType_RexNebular)
return new Dialogs(vm);
error("Unknown game");
}
Dialogs::Dialogs(MADSEngine *vm): _vm(vm) {
}
} // End of namespace MADS