public void AddTileCollisions(Tile tile) { tile.AddCollisions(); foreach (Box box in tile.Boxes) { World.Add(box); CollisionTiles.Add(box); } }
public GameObject(GameWorld world) { World = world; World.Add(this); }