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

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