EntityEvents
This class is used to contain all events for an entity type in the level
Constructor
Parameters:
An index that represent the entity type
getSpawns
This method return a vector of size_t that represent the list of point on y axe where entity should spawn at the timestamp given in parameter
addSpawn
This method append an entity in the _spawns vector at the given timecode and on the given position
getEntity
This method return the entity type of the class
sort
This method is called when the file is fully pared. It sort the _spawns vector by timecode order
isFinished
This method check if it remain entity in the _spawns vector
Last updated