C# Class Terraria.World.Generation.WorldUtils

Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
ClearChestLocation ( int x, int y ) : void
ClearTile ( int x, int y, bool frameNeighbors = false ) : void
ClearWall ( int x, int y, bool frameNeighbors = false ) : void
DebugRegen ( ) : void
DebugRotate ( ) : void
Find ( Point origin, GenSearch search, Point &result ) : bool
Gen ( Point origin, GenShape shape, GenAction action ) : bool
TileFrame ( int x, int y, bool frameNeighbors = false ) : void
WireLine ( Point start, Point end ) : void

Method Details

ClearChestLocation() public static method

public static ClearChestLocation ( int x, int y ) : void
x int
y int
return void

ClearTile() public static method

public static ClearTile ( int x, int y, bool frameNeighbors = false ) : void
x int
y int
frameNeighbors bool
return void

ClearWall() public static method

public static ClearWall ( int x, int y, bool frameNeighbors = false ) : void
x int
y int
frameNeighbors bool
return void

DebugRegen() public static method

public static DebugRegen ( ) : void
return void

DebugRotate() public static method

public static DebugRotate ( ) : void
return void

Find() public static method

public static Find ( Point origin, GenSearch search, Point &result ) : bool
origin Microsoft.Xna.Framework.Point
search GenSearch
result Microsoft.Xna.Framework.Point
return bool

Gen() public static method

public static Gen ( Point origin, GenShape shape, GenAction action ) : bool
origin Microsoft.Xna.Framework.Point
shape GenShape
action GenAction
return bool

TileFrame() public static method

public static TileFrame ( int x, int y, bool frameNeighbors = false ) : void
x int
y int
frameNeighbors bool
return void

WireLine() public static method

public static WireLine ( Point start, Point end ) : void
start Microsoft.Xna.Framework.Point
end Microsoft.Xna.Framework.Point
return void