// 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); } }
public T At(Location3D location) { return(At(location.X, location.Y, location.Z)); }