1 #ifndef CORE_EVENTS_MAPS_HPP
2 #define CORE_EVENTS_MAPS_HPP
Core classes and functionality for both the editor and game.
Fired right before a map is entered. Use this event for initializing data structures that depend on m...
MapSwitch(const map::Map &map)
Construct a new MapSwitch event.
const map::Map & map
The map that is going to be entered.
Fired when a map is entered.
MapEntered(const map::Map &map)
Construct a new Map Entered object.
const map::Map & map
A reference to the map that was just entered.
Fired when a map is exited.
const map::Map & map
A reference to the map that was just exited.
MapExited(const map::Map &map)
Construct a new MapExited event.
Fired when the map should be switched to something else.
const std::string newMap
The new map to switch to.
const int spawn
The spawn to start the player at.
SwitchMapTriggered(const std::string &newMap, int spawn)
Construct a new Switch Map Triggered event.
The primary map class that represents a usable map in the game.