These enums are used for indicating types of Points we can be dealing with.
TilePoint |
A Point defined by an x, y (and z) coordinate. The x and y coordinates indicate which tile this point is situated on. The most northern point of the Map is considered to be (0,0). |
IsometricPoint |
A Point defined by an x, y (and z) coordinate. The x and y coordinates indicate a point in an isometric axis system. The most northern point of the Map is considered to be (0,0) |
MapPoint |
A Point defined by an x, y (and z) coordinate. The x and y coordinates indicate a point in an orthogonal axis system where the most northern point of the Map is (0,0). |
ScreenPoint |
A Point defined by an x and y coordinate. This indicates a point on the screen. The top-left corner of the window is considered (0,0). |
StaticObject* Annchienta::getActiveObject | ( | ) |
A function for use in scenes. When you call this function, it will return the object that most recently started interacting with another object.
AudioManager* Annchienta::getAudioManager | ( | ) |
CacheManager* Annchienta::getCacheManager | ( | ) |
Engine* Annchienta::getEngine | ( | ) |
Returns the global engine.
InputManager* Annchienta::getInputManager | ( | ) |
LogManager* Annchienta::getLogManager | ( | ) |
Retrieve the global LogManager instance.
MapManager* Annchienta::getMapManager | ( | ) |
MathManager* Annchienta::getMathManager | ( | ) |
StaticObject* Annchienta::getPassiveObject | ( | ) |
A function for use in scenes. When you call this function, it will return the object that most recently started being interacting with.
VideoManager* Annchienta::getVideoManager | ( | ) |
void Annchienta::init | ( | const char * | writeDir = "." |
) |
Starts the engine. Call this before using any functions from the annchienta module.
writeDir | path to directory where log and save files should be placed. |
void Annchienta::quit | ( | ) |
Quits and deletes the engine. Call this at the end of your game...
void Annchienta::setActiveObject | ( | StaticObject * | object | ) |
void Annchienta::setPassiveObject | ( | StaticObject * | object | ) |