C# Class Terraria.Framing

Mostrar archivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
Add8WayLookup ( int lookup, short x, short y ) : void
Add8WayLookup ( int lookup, short point1X, short point1Y, short point2X, short point2Y, short point3X, short point3Y ) : void
AddWallFrameLookup ( int lookup, short point1X, short point1Y, short point2X, short point2Y, short point3X, short point3Y, short point4X, short point4Y ) : void
GetTileSafely ( int i, int j ) : Tile
Initialize ( ) : void
SelfFrame4Way ( ) : void
SelfFrame8Way ( int i, int j, Tile centerTile, bool resetFrame ) : void
WallFrame ( int i, int j, bool resetFrame = false ) : void

Private Methods

Method Description
FindBlockStyle ( Tile blockTile ) : Framing.BlockStyle

Method Details

Add8WayLookup() public static method

public static Add8WayLookup ( int lookup, short x, short y ) : void
lookup int
x short
y short
return void

Add8WayLookup() public static method

public static Add8WayLookup ( int lookup, short point1X, short point1Y, short point2X, short point2Y, short point3X, short point3Y ) : void
lookup int
point1X short
point1Y short
point2X short
point2Y short
point3X short
point3Y short
return void

AddWallFrameLookup() public static method

public static AddWallFrameLookup ( int lookup, short point1X, short point1Y, short point2X, short point2Y, short point3X, short point3Y, short point4X, short point4Y ) : void
lookup int
point1X short
point1Y short
point2X short
point2Y short
point3X short
point3Y short
point4X short
point4Y short
return void

GetTileSafely() public static method

public static GetTileSafely ( int i, int j ) : Tile
i int
j int
return Tile

Initialize() public static method

public static Initialize ( ) : void
return void

SelfFrame4Way() public static method

public static SelfFrame4Way ( ) : void
return void

SelfFrame8Way() public static method

public static SelfFrame8Way ( int i, int j, Tile centerTile, bool resetFrame ) : void
i int
j int
centerTile Tile
resetFrame bool
return void

WallFrame() public static method

public static WallFrame ( int i, int j, bool resetFrame = false ) : void
i int
j int
resetFrame bool
return void