C# Class Terraria.TileObject

Mostrar archivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
Empty TileObject
alternate int
objectPreview Terraria.DataStructures.TileObjectPreviewData
random int
style int
type int
xCoord int
yCoord int

Public Methods

Method Description
CanPlace ( int x, int y, int type, int style, int dir, TileObject &objectData, bool onlyCheck = false ) : bool
DrawPreview ( SpriteBatch sb, TileObjectPreviewData op, Vector2 position ) : void
Place ( TileObject toBePlaced ) : bool

Method Details

CanPlace() public static method

public static CanPlace ( int x, int y, int type, int style, int dir, TileObject &objectData, bool onlyCheck = false ) : bool
x int
y int
type int
style int
dir int
objectData TileObject
onlyCheck bool
return bool

DrawPreview() public static method

public static DrawPreview ( SpriteBatch sb, TileObjectPreviewData op, Vector2 position ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
op Terraria.DataStructures.TileObjectPreviewData
position Vector2
return void

Place() public static method

public static Place ( TileObject toBePlaced ) : bool
toBePlaced TileObject
return bool

Property Details

Empty public_oe static_oe property

public static TileObject,Terraria Empty
return TileObject

alternate public_oe property

public int alternate
return int

objectPreview public_oe static_oe property

public static TileObjectPreviewData,Terraria.DataStructures objectPreview
return Terraria.DataStructures.TileObjectPreviewData

random public_oe property

public int random
return int

style public_oe property

public int style
return int

type public_oe property

public int type
return int

xCoord public_oe property

public int xCoord
return int

yCoord public_oe property

public int yCoord
return int