17 #ifndef HEADER_SUPERTUX_SUPERTUX_SCREEN_HPP 18 #define HEADER_SUPERTUX_SUPERTUX_SCREEN_HPP virtual void draw(Compositor &compositor)=0
gets called once per frame.
Definition: controller.hpp:56
Abstract base class for code the MainLoop runs exclusively and full-screen.
Definition: screen.hpp:29
virtual void update(float dt_sec, const Controller &controller)=0
gets called for once (per logical) frame.
virtual void leave()
gets called when the current screen is temporarily suspended
Definition: screen.hpp:42
Definition: compositor.hpp:29
virtual void setup()
gets called before this screen gets activated (which is at least once before the first draw or update...
Definition: screen.hpp:39