supertux
|
Screen that displays intro text, extro text, etc. More...
#include <textscroller_screen.hpp>
Public Member Functions | |
TextScrollerScreen (const std::string &file) | |
virtual void | setup () override |
gets called before this screen gets activated (which is at least once before the first draw or update call | |
virtual void | draw (Compositor &compositor) override |
gets called once per frame. More... | |
virtual void | update (float dt_sec, const Controller &controller) override |
gets called for once (per logical) frame. More... | |
virtual IntegrationStatus | get_status () const override |
Gives details about what the user is doing right now. More... | |
![]() | |
virtual void | leave () |
gets called when the current screen is temporarily suspended | |
Screen that displays intro text, extro text, etc.
|
overridevirtual |
gets called once per frame.
The screen should draw itself in this function. State changes should not be done in this function, but rather in update
Implements Screen.
|
overridevirtual |
Gives details about what the user is doing right now.
Implements Screen.
|
overridevirtual |
gets called for once (per logical) frame.
Screens should do their state updates and logic here
Implements Screen.