TileFrame() public static method

public static TileFrame ( int x, int y, bool frameNeighbors = false ) : void
x int
y int
frameNeighbors bool
return void
コード例 #1
0
ファイル: Actions.cs プロジェクト: saniainf/EDTerraria
 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));
 }
コード例 #2
0
ファイル: Actions.cs プロジェクト: saniainf/EDTerraria
 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));
 }