TileFrame() public static method

public static TileFrame ( int x, int y, bool frameNeighbors = false ) : void
x int
y int
frameNeighbors bool
return void
Esempio n. 1
0
 public override bool Apply(Point origin, int x, int y, params object[] args)
 {
     GenBase._tiles[x, y].ResetToType(this._type);
     if (this._doFraming)
     {
         WorldUtils.TileFrame(x, y, this._doNeighborFraming);
     }
     return(this.UnitApply(origin, x, y, args));
 }
Esempio n. 2
0
 public override bool Apply(Point origin, int x, int y, params object[] args)
 {
     WorldUtils.TileFrame(x, y, this._frameNeighbors);
     return(this.UnitApply(origin, x, y, args));
 }