C# Class Terraria.Tile

Mostra file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
bTileHeader byte
bTileHeader2 byte
bTileHeader3 byte
frameX short
frameY short
k_block k_TileBlock
k_liquid_amount byte
k_liquid_protoID byte
k_wall_colourID byte
k_wall_protoID ushort
k_wall_variant byte
k_wireFlags k_WireFlags
liquid byte
sTileHeader short
type ushort
wall byte

Public Methods

Method Description
ClearEverything ( ) : void
ClearTile ( ) : void
Clone ( ) : object
CopyFrom ( Tile from ) : void
HasSameSlope ( Tile tile ) : bool
ResetToType ( ushort type ) : void
SmoothSlope ( int x, int y, bool applyToNeighbors = true ) : void
Tile ( ) : Microsoft.Xna.Framework
Tile ( Tile copy ) : Microsoft.Xna.Framework
actColor ( Color oldColor ) : Color
active ( ) : bool
active ( bool active ) : void
blockType ( ) : int
bottomSlope ( ) : bool
checkingLiquid ( ) : bool
checkingLiquid ( bool checkingLiquid ) : void
color ( ) : byte
color ( byte color ) : void
frameNumber ( ) : byte
frameNumber ( byte frameNumber ) : void
halfBrick ( ) : bool
halfBrick ( bool halfBrick ) : void
honey ( ) : bool
honey ( bool honey ) : void
inActive ( ) : bool
inActive ( bool inActive ) : void
isTheSameAs ( Tile compTile ) : bool
k_AddLiquid ( ushort proto, byte amount ) : void
k_Constructor ( Tile copy ) : void
k_HACK_GetNetworkWireKillType ( k_WireFlags flag ) : int
k_HACK_GetNetworkWirePlaceType ( k_WireFlags flag ) : int
k_HACK_GetNetworkWireType ( int type ) : k_WireFlags
k_HasWireFlags ( k_WireFlags flags ) : bool
k_HasWireFlagsAny ( k_WireFlags flags ) : bool
k_KillBlock ( ) : void
k_KillWall ( ) : void
k_KillWireFlags ( ) : void
k_RemoveLiquid ( byte amount ) : byte
k_SetBlock ( ushort proto, byte variant, byte flags ) : void
k_SetWall ( ushort proto, byte variant ) : void
k_SetWireFlags ( k_WireFlags flags, bool state ) : void
lava ( ) : bool
lava ( bool lava ) : void
leftSlope ( ) : bool
liquidType ( ) : byte
liquidType ( int liquidType ) : void
nactive ( ) : bool
rightSlope ( ) : bool
skipLiquid ( ) : bool
skipLiquid ( bool skipLiquid ) : void
slope ( ) : byte
slope ( byte slope ) : void
topSlope ( ) : bool
wallColor ( ) : byte
wallColor ( byte wallColor ) : void
wallFrameNumber ( ) : byte
wallFrameNumber ( byte wallFrameNumber ) : void
wallFrameX ( ) : int
wallFrameX ( int wallFrameX ) : void
wallFrameY ( ) : int
wallFrameY ( int wallFrameY ) : void

Private Methods

Method Description
ClearMetadata ( ) : void
Constructor ( Tile copy = null ) : void

Method Details

ClearEverything() public method

public ClearEverything ( ) : void
return void

ClearTile() public method

public ClearTile ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

CopyFrom() public method

public CopyFrom ( Tile from ) : void
from Tile
return void

HasSameSlope() public method

public HasSameSlope ( Tile tile ) : bool
tile Tile
return bool

ResetToType() public method

public ResetToType ( ushort type ) : void
type ushort
return void

SmoothSlope() public static method

public static SmoothSlope ( int x, int y, bool applyToNeighbors = true ) : void
x int
y int
applyToNeighbors bool
return void

Tile() public method

public Tile ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

Tile() public method

public Tile ( Tile copy ) : Microsoft.Xna.Framework
copy Tile
return Microsoft.Xna.Framework

actColor() public method

public actColor ( Color oldColor ) : Color
oldColor Color
return Color

active() public method

public active ( ) : bool
return bool

active() public method

public active ( bool active ) : void
active bool
return void

blockType() public method

public blockType ( ) : int
return int

bottomSlope() public method

public bottomSlope ( ) : bool
return bool

checkingLiquid() public method

public checkingLiquid ( ) : bool
return bool

checkingLiquid() public method

public checkingLiquid ( bool checkingLiquid ) : void
checkingLiquid bool
return void

color() public method

public color ( ) : byte
return byte

color() public method

public color ( byte color ) : void
color byte
return void

frameNumber() public method

public frameNumber ( ) : byte
return byte

frameNumber() public method

public frameNumber ( byte frameNumber ) : void
frameNumber byte
return void

halfBrick() public method

public halfBrick ( ) : bool
return bool

halfBrick() public method

public halfBrick ( bool halfBrick ) : void
halfBrick bool
return void

honey() public method

public honey ( ) : bool
return bool

honey() public method

public honey ( bool honey ) : void
honey bool
return void

inActive() public method

public inActive ( ) : bool
return bool

inActive() public method

public inActive ( bool inActive ) : void
inActive bool
return void

isTheSameAs() public method

public isTheSameAs ( Tile compTile ) : bool
compTile Tile
return bool

k_AddLiquid() public method

public k_AddLiquid ( ushort proto, byte amount ) : void
proto ushort
amount byte
return void

k_Constructor() public method

public k_Constructor ( Tile copy ) : void
copy Tile
return void

k_HACK_GetNetworkWireKillType() public static method

public static k_HACK_GetNetworkWireKillType ( k_WireFlags flag ) : int
flag k_WireFlags
return int

k_HACK_GetNetworkWirePlaceType() public static method

public static k_HACK_GetNetworkWirePlaceType ( k_WireFlags flag ) : int
flag k_WireFlags
return int

k_HACK_GetNetworkWireType() public static method

public static k_HACK_GetNetworkWireType ( int type ) : k_WireFlags
type int
return k_WireFlags

k_HasWireFlags() public method

public k_HasWireFlags ( k_WireFlags flags ) : bool
flags k_WireFlags
return bool

k_HasWireFlagsAny() public method

public k_HasWireFlagsAny ( k_WireFlags flags ) : bool
flags k_WireFlags
return bool

k_KillBlock() public method

public k_KillBlock ( ) : void
return void

k_KillWall() public method

public k_KillWall ( ) : void
return void

k_KillWireFlags() public method

public k_KillWireFlags ( ) : void
return void

k_RemoveLiquid() public method

public k_RemoveLiquid ( byte amount ) : byte
amount byte
return byte

k_SetBlock() public method

public k_SetBlock ( ushort proto, byte variant, byte flags ) : void
proto ushort
variant byte
flags byte
return void

k_SetWall() public method

public k_SetWall ( ushort proto, byte variant ) : void
proto ushort
variant byte
return void

k_SetWireFlags() public method

public k_SetWireFlags ( k_WireFlags flags, bool state ) : void
flags k_WireFlags
state bool
return void

lava() public method

public lava ( ) : bool
return bool

lava() public method

public lava ( bool lava ) : void
lava bool
return void

leftSlope() public method

public leftSlope ( ) : bool
return bool

liquidType() public method

public liquidType ( ) : byte
return byte

liquidType() public method

public liquidType ( int liquidType ) : void
liquidType int
return void

nactive() public method

public nactive ( ) : bool
return bool

rightSlope() public method

public rightSlope ( ) : bool
return bool

skipLiquid() public method

public skipLiquid ( ) : bool
return bool

skipLiquid() public method

public skipLiquid ( bool skipLiquid ) : void
skipLiquid bool
return void

slope() public method

public slope ( ) : byte
return byte

slope() public method

public slope ( byte slope ) : void
slope byte
return void

topSlope() public method

public topSlope ( ) : bool
return bool

wallColor() public method

public wallColor ( ) : byte
return byte

wallColor() public method

public wallColor ( byte wallColor ) : void
wallColor byte
return void

wallFrameNumber() public method

public wallFrameNumber ( ) : byte
return byte

wallFrameNumber() public method

public wallFrameNumber ( byte wallFrameNumber ) : void
wallFrameNumber byte
return void

wallFrameX() public method

public wallFrameX ( ) : int
return int

wallFrameX() public method

public wallFrameX ( int wallFrameX ) : void
wallFrameX int
return void

wallFrameY() public method

public wallFrameY ( ) : int
return int

wallFrameY() public method

public wallFrameY ( int wallFrameY ) : void
wallFrameY int
return void

Property Details

bTileHeader public_oe property

public byte bTileHeader
return byte

bTileHeader2 public_oe property

public byte bTileHeader2
return byte

bTileHeader3 public_oe property

public byte bTileHeader3
return byte

frameX public_oe property

public short frameX
return short

frameY public_oe property

public short frameY
return short

k_block public_oe property

public k_TileBlock,Terraria k_block
return k_TileBlock

k_liquid_amount public_oe property

public byte k_liquid_amount
return byte

k_liquid_protoID public_oe property

public byte k_liquid_protoID
return byte

k_wall_colourID public_oe property

public byte k_wall_colourID
return byte

k_wall_protoID public_oe property

public ushort k_wall_protoID
return ushort

k_wall_variant public_oe property

public byte k_wall_variant
return byte

k_wireFlags public_oe property

public k_WireFlags k_wireFlags
return k_WireFlags

liquid public_oe property

public byte liquid
return byte

sTileHeader public_oe property

public short sTileHeader
return short

type public_oe property

public ushort type
return ushort

wall public_oe property

public byte wall
return byte