Beispiel #1
0
        public void AddObject(int x, int y, MapObject mo)
        {
            Tile t = this.grid [x, y];

            t.contains = mo;
            this.occupiedTiles.Add (t);
        }
Beispiel #2
0
 public Movement(MapObject o, int x, int y, Direction direction)
 {
     this.parentObject = o;
     this.oldX = x;
     this.oldY = y;
     this.direction = direction;
 }
Beispiel #3
0
 public Tile(int x, int y)
 {
     this.x = x;
     this.y = y;
     this.contains = null;
 }