16 inline static std::unique_ptr<game::core::Stage>
stage =
nullptr;
23 inline static long long int ticks = 1;
26 inline static std::map<std::string, std::shared_ptr<game::core::Actor>>
actors = { };
A central place to share globally accessible objects that should be accessible from anywhere.
static long long int ticks
Global game counter. Can be used e.g. for the calculation of animation times.
static std::unique_ptr< game::core::Stage > stage
The Stage object is responsible for the scene change and for updating and drawing the scene contents.
static Vector2 mouse_position
The virtual mouse position.
static std::map< std::string, std::shared_ptr< game::core::Actor > > actors
The actors map can contain shared pointers to actor objects that are to be used across multiple scene...