예제 #1
0
 //------------------------------------------------------------------------------------------------------------------------
 //														Remove()
 //------------------------------------------------------------------------------------------------------------------------
 internal void Remove(GameObject gameObject)
 {
     if (_gameObjectsContained.Contains(gameObject))
     {
         _updateManager.Remove(gameObject);
         _collisionManager.Remove(gameObject);
         _gameObjectsContained.Remove(gameObject);
     }
 }
예제 #2
0
 //------------------------------------------------------------------------------------------------------------------------
 //														Remove()
 //------------------------------------------------------------------------------------------------------------------------
 /// <summary>
 /// Should only be called from the GameObject class!
 /// </summary>
 internal void Remove(GameObject gameObject)
 {
     _updateManager.Remove(gameObject);
     _collisionManager.Remove(gameObject);
 }