2010-04-05 23:38:59 +02:00
|
|
|
#ifndef _MODELGLOBAL_H
|
|
|
|
#define _MODELGLOBAL_H
|
|
|
|
|
|
|
|
namespace Engine {
|
|
|
|
|
|
|
|
/** \brief Adds the function callback as command for the given name*/
|
|
|
|
unsigned int GetPlayerEntityId ();
|
|
|
|
|
|
|
|
/** \brief Returns the duration of the frame in seconds */
|
|
|
|
float GetFrameDuration ();
|
|
|
|
|
2010-11-27 20:56:38 +01:00
|
|
|
// /** \brief Starts a timer with the given id that expires after sec seconds */
|
|
|
|
// void StartTimer(const std::string &id, float sec);
|
|
|
|
//
|
|
|
|
// /** \brief Checks whether a timer expired */
|
|
|
|
// bool CheckTimer(const std::string &id);
|
2010-11-27 08:38:32 +01:00
|
|
|
|
2010-04-05 23:38:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _MODELGLOBAL_H */
|
|
|
|
|