![]() |
Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
|
Application acts as the entry-point to the game. More...
#include <Application.h>

Public Member Functions | |
| virtual std::string | getName ()=0 |
| Gets name of application. | |
| virtual void | onStart ()=0 |
| Invoked when application starts. | |
| virtual void | onUpdate (float deltaTime)=0 |
| Invoked once per frame. | |
| virtual void | onQuit ()=0 |
| Invoked when application quits. | |
| bool | hasQuit () |
| void | quit () |
| Quits the application. | |
Public Member Functions inherited from meteor::MEntity | |
| virtual bool | equals (MEntity *other) |
| Checks equality between two entities. | |
| std::string | getName () |
| void | setName (std::string name) |
| Sets name of entity. | |
| virtual std::string | toString () |
| Get this object as a string. | |
Additional Inherited Members | |
Protected Attributes inherited from meteor::MEntity | |
| std::string | name |
Application acts as the entry-point to the game.
|
pure virtual |
Gets name of application.
|
inline |
|
pure virtual |
Invoked once per frame.
| deltaTime | time difference last and last-to-last frame. |