Esempio n. 1
0
 public void RegisterObject(GameObjectUpdatable updatable)
 {
     if (updatables == null)
     {
         updatables = new List<GameObjectUpdatable>();
     }
     if (!updatables.Contains(updatable)) {
         updatables.Add(updatable);
     }
 }
Esempio n. 2
0
 public void RegisterObject(GameObjectUpdatable updatable)
 {
     if (updatables == null)
     {
         updatables = new List <GameObjectUpdatable>();
     }
     if (!updatables.Contains(updatable))
     {
         updatables.Add(updatable);
     }
 }
Esempio n. 3
0
 public void UnregisterUpdatableObject(GameObjectUpdatable updatable)
 {
     gameSpeedManager.UnregisterObject(updatable);
 }
Esempio n. 4
0
 public void UnregisterObject(GameObjectUpdatable updatable)
 {
     updatables.Remove(updatable);
 }
Esempio n. 5
0
 public void UnregisterObject(GameObjectUpdatable updatable)
 {
     updatables.Remove(updatable);
 }
Esempio n. 6
0
 public void UnregisterUpdatableObject(GameObjectUpdatable updatable)
 {
     gameSpeedManager.UnregisterObject(updatable);
 }