Inherited by GameSession, LevelIntro, TextScroller, TitleScreen, and worldmap::WorldMap.
List of all members.
Public Member Functions
|virtual void||setup ()|
|gets called before this screen gets activated (which is at least once before the first draw or update call |
|virtual void||leave ()|
|gets called when the current screen is temporarily suspended |
|virtual void||draw (DrawingContext &context)=0|
|gets called once per frame. |
|virtual void||update (float elapsed_time)=0|
|gets called for once (per logical) frame. |
Examples of Screens are: The TitleScreen, a WorldMap, a level's GameSession, a TextScroller, ...
Definition at line 28 of file screen.hpp.
|virtual void Screen::setup||(||)||
gets called before this screen gets activated (which is at least once before the first draw or update call
Referenced by ScreenManager::handle_screen_switch().
|virtual void Screen::leave||(||)||
|virtual void Screen::draw||(||DrawingContext &||context||)||
|virtual void Screen::update||(||float||elapsed_time||)||