Exemplo n.º 1
0
 // Add an entity to the world
 public void AddEntity(Entity entity, Location3D location)
 {
     // If the target tile will accept the entity,
     if (tiles.At(location).AddEntity(entity))
     {
         // Track the entity globally
         entities.Add(entity);
     }
 }
Exemplo n.º 2
0
 public T At(Location3D location)
 {
     return(At(location.X, location.Y, location.Z));
 }