Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Managers/Headers/AIManager.h

Diff revisions: vs.
  @@ -47,6 +47,7 @@
47 47 /// Destroy all entities
48 48 void Destroy();
49 49 inline void setSceneCallback(boost::function0<void> callback) {WriteLock w_lock(_updateMutex); _sceneCallback = callback;}
50 + inline void pauseUpdate(bool state) {_pauseUpdate = state;}
50 51 ///Toggle NavMesh debugDraw
51 52 void toggleNavMeshDebugDraw(bool state);
52 53
  @@ -59,6 +60,7 @@
59 60
60 61 private:
61 62 boost::atomic<bool> _navMeshDebugDraw;
63 + boost::atomic<bool> _pauseUpdate;
62 64 AIEntityMap _aiEntities;
63 65 mutable SharedLock _updateMutex;
64 66 mutable SharedLock _navMeshMutex;