22 #ifndef FIFE_TIMEVENT_H 23 #define FIFE_TIMEVENT_H TimeEvent(int32_t period=-1)
Default constructor.
uint32_t getLastUpdateTime()
Get the last time the event was updated.
Interface for events to be registered with TimeManager.
void managerUpdateEvent(uint32_t time)
Called by TimeManager to update the event.
int32_t getPeriod()
Get the period of the event.
virtual void updateEvent(uint32_t time)=0
Update function to be overridden by client.
void setPeriod(int32_t period)
Set the period of the event.
void setLastUpdateTime(uint32_t ms)
Set the last time the event was updated.
virtual ~TimeEvent()
Destructor.