public Actor this[Coords c] { get { return(actors[c.z, c.y, c.x]); } set { actors[c.z, c.y, c.x] = value; } }
public void Replicate(Coords coords)//Registering in another cell at coords { World.instance.grid[coords] = this; }
public Coords(Coords copy) { this.x = copy.x; this.y = copy.y; this.z = copy.z; }
public void Teleport(Coords coords)//Moves to new cell at coords { World.instance.grid[this.coords] = null; this.coords = coords; World.instance.grid[coords] = this; }