mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-20 03:30:18 +00:00
base speed stuff
looping fixes proper stopping
This commit is contained in:
@@ -287,6 +287,13 @@ public:
|
||||
*/
|
||||
void FollowWaypoints(){m_Paused = false;};
|
||||
|
||||
/**
|
||||
* Returns the base speed from the DB for a given LOT
|
||||
* @param lot the lot to check for
|
||||
* @return the base speed of the lot
|
||||
*/
|
||||
static float GetBaseSpeed(LOT lot);
|
||||
|
||||
private:
|
||||
/**
|
||||
* The entity that owns this component
|
||||
@@ -428,6 +435,11 @@ private:
|
||||
*/
|
||||
float m_PausedTime = 0.0;
|
||||
|
||||
/**
|
||||
* The laden speed of an object
|
||||
*/
|
||||
float m_BaseSpeed;
|
||||
|
||||
};
|
||||
|
||||
#endif // CONTROLLABLEPHYSICSCOMPONENT_H
|
||||
|
||||
Reference in New Issue
Block a user