Пример #1
0
 public void Destroy(GameObjectBase gameObject)
 {
     _toDestroy.Add(gameObject);
     gameObject.IsDestroyed = true;
 }
Пример #2
0
 public IEnumerable <GameObjectBase> GetCollidingEntities(GameObjectBase gameObject)
 {
     return(_getColliding(gameObject));
 }