ASYLUM: Renamed some leftover variables (state -> mainMenu)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@97 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
Filippos Karapetis 2009-06-14 14:31:23 +00:00 committed by Eugene Sandulenko
parent c2fe7353bf
commit 46da88fe15
No known key found for this signature in database
GPG key ID: 014D387312D34F08
3 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ AsylumEngine::AsylumEngine(OSystem *system, Common::Language language)
AsylumEngine::~AsylumEngine() {
//Common::clearAllDebugChannels();
delete _state;
delete _mainMenu;
delete _scene;
delete _video;
delete _sound;
@ -90,7 +90,7 @@ Common::Error AsylumEngine::go() {
// DEBUG
// Testing new game state abstraction class
_state = new MainMenu(this);
_mainMenu = new MainMenu(this);
// TODO: just some scene proof-of-concept
_scene->load(5);
@ -139,7 +139,7 @@ void AsylumEngine::checkForEvent(bool doUpdate) {
// Copy background image
_screen->copyBackBufferToScreen();
}
_state->handleEvent(&ev, doUpdate);
_mainMenu->handleEvent(&ev, doUpdate);
}
} // namespace Asylum