C# Class Terraria.HitTile

Mostrar archivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
data Terraria.HitTile.HitTileObject[]

Public Methods

Method Description
AddDamage ( int tileId, int damageAmount, bool updateAmount = true ) : int
Clear ( int tileId ) : void
HitObject ( int x, int y, int hitType ) : int
HitTile ( ) : System
Prune ( ) : void
UpdatePosition ( int tileId, int x, int y ) : void

Method Details

AddDamage() public method

public AddDamage ( int tileId, int damageAmount, bool updateAmount = true ) : int
tileId int
damageAmount int
updateAmount bool
return int

Clear() public method

public Clear ( int tileId ) : void
tileId int
return void

HitObject() public method

public HitObject ( int x, int y, int hitType ) : int
x int
y int
hitType int
return int

HitTile() public method

public HitTile ( ) : System
return System

Prune() public method

public Prune ( ) : void
return void

UpdatePosition() public method

public UpdatePosition ( int tileId, int x, int y ) : void
tileId int
x int
y int
return void

Property Details

data public_oe property

public HitTile.HitTileObject[],Terraria data
return Terraria.HitTile.HitTileObject[]