Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
|
An Entity is the base class for all data and behaviour oriented objects in meteor. This class contains properties and function used by meteor for its operation. More...
#include <entity.h>
Public Member Functions | |
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. | |
Protected Attributes | |
std::string | name |
An Entity is the base class for all data and behaviour oriented objects in meteor. This class contains properties and function used by meteor for its operation.
|
virtual |
Checks equality between two entities.
other | entity to check with. |
|
inline |
|
virtual |
Get this object as a string.
Reimplemented in meteor::MAudioClip.