mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-11-26 11:18:16 +00:00
Working Pausing and Resuming
This commit is contained in:
@@ -173,6 +173,12 @@ public:
|
||||
*/
|
||||
bool AtFinalWaypoint() const { return m_AtFinalWaypoint; }
|
||||
|
||||
bool IsPaused() const { return m_IsPaused; }
|
||||
|
||||
void Pause();
|
||||
|
||||
void Resume();
|
||||
|
||||
/**
|
||||
* Renders the entity stationary
|
||||
*/
|
||||
@@ -322,6 +328,11 @@ private:
|
||||
* Whether or not the path is being read in reverse
|
||||
*/
|
||||
bool m_IsInReverse;
|
||||
|
||||
/**
|
||||
* Whether or not the current movement via pathing is paused.
|
||||
*/
|
||||
bool m_IsPaused;
|
||||
};
|
||||
|
||||
#endif // MOVEMENTAICOMPONENT_H
|
||||
|
||||
Reference in New Issue
Block a user