public void AddObject(int x, int y, MapObject mo) { Tile t = this.grid [x, y]; t.contains = mo; this.occupiedTiles.Add (t); }
public Movement(MapObject o, int x, int y, Direction direction) { this.parentObject = o; this.oldX = x; this.oldY = y; this.direction = direction; }
public Tile(int x, int y) { this.x = x; this.y = y; this.contains = null; }