SourceMod::IMapTimer Class Reference

Interface for map timers. More...

#include <public/ITimerSystem.h>

List of all members.

Public Member Functions

virtual int GetMapTimeLimit ()=0
virtual void ExtendMapTimeLimit (int extra_time)=0
virtual void SetMapTimerStatus (bool enabled)=0


Detailed Description

Interface for map timers.

Definition at line 54 of file ITimerSystem.h.


Member Function Documentation

virtual int SourceMod::IMapTimer::GetMapTimeLimit (  )  [pure virtual]

Returns the current map time limit in seconds.

Returns:
Time limit, in seconds, or 0 if there is no limit.

virtual void SourceMod::IMapTimer::ExtendMapTimeLimit ( int  extra_time  )  [pure virtual]

Extends the map limit (either positively or negatively) in seconds.

Parameters:
extra_time Time to extend map by. If 0, the map will be set to have no time limit.

virtual void SourceMod::IMapTimer::SetMapTimerStatus ( bool  enabled  )  [pure virtual]

Tells the map timer whether it is being used or not.

Map timers are automatically enabled when they are set, and automatically disabled if being un-set.

Parameters:
enabled True if enabling, false if disabling.


The documentation for this class was generated from the following file:
Generated on Thu Aug 28 22:10:30 2008 for SourceMod SDK by  doxygen 1.5.1