public void Destroy(GameObjectBase gameObject) { _toDestroy.Add(gameObject); gameObject.IsDestroyed = true; }
public IEnumerable <GameObjectBase> GetCollidingEntities(GameObjectBase gameObject) { return(_getColliding(gameObject)); }