Is it active?

This commit is contained in:
simon.kagstrom 2009-12-19 19:17:25 +00:00
parent 2c18cbf559
commit b4f133036a
2 changed files with 8 additions and 0 deletions

View File

@ -71,6 +71,8 @@ public:
Gui::gui->pushView(Gui::gui->dv); Gui::gui->pushView(Gui::gui->dv);
} }
break; break;
case 2:
break;
case 11: case 11:
this->dialogue = new ExitDialogue(this->font); this->dialogue = new ExitDialogue(this->font);

View File

@ -60,6 +60,11 @@ public:
this->is_active = false; this->is_active = false;
} }
bool isActive()
{
return this->is_active;
}
void runLogic(); void runLogic();
void draw(SDL_Surface *where, int x, int y, int w, int h); void draw(SDL_Surface *where, int x, int y, int w, int h);
@ -83,4 +88,5 @@ private:
unsigned buf_head; unsigned buf_head;
}; };
#endif /* __VIRTUAL_KEYBORD_HH__ */ #endif /* __VIRTUAL_KEYBORD_HH__ */