public void RemoveFromWorld(GameObject obj) { _removedGameObjects.Enqueue(obj); }
public void Render(GameObject obj) { Canvas.SetLeft(obj.GameObjectData.shape.shape, (int)obj.GameObjectData.pos.X); Canvas.SetTop(obj.GameObjectData.shape.shape, (int)obj.GameObjectData.pos.Y); }
public void AddToWorld(GameObject obj) { _newGameObjects.Enqueue(obj); }