Working Pausing and Resuming

This commit is contained in:
David Markowitz
2023-08-07 00:44:57 -07:00
parent 6a5ff30a32
commit aa734ef7ae
2 changed files with 34 additions and 2 deletions

View File

@@ -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