public void RegisterObject(GameObjectUpdatable updatable) { if (updatables == null) { updatables = new List<GameObjectUpdatable>(); } if (!updatables.Contains(updatable)) { updatables.Add(updatable); } }
public void RegisterObject(GameObjectUpdatable updatable) { if (updatables == null) { updatables = new List <GameObjectUpdatable>(); } if (!updatables.Contains(updatable)) { updatables.Add(updatable); } }
public void UnregisterUpdatableObject(GameObjectUpdatable updatable) { gameSpeedManager.UnregisterObject(updatable); }
public void UnregisterObject(GameObjectUpdatable updatable) { updatables.Remove(updatable); }