Exemple #1
0
 public void RemoveFromWorld(GameObject obj)
 {
     _removedGameObjects.Enqueue(obj);
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 public void AddToWorld(GameObject obj)
 {
     _newGameObjects.Enqueue(obj);
 }