C# Class fCraft.TntBulletBehavior

Inheritance: IParticleBehavior
Exibir arquivo Open project: GlennMR/800craft

Public Methods

Method Description
HitPlayer ( World world, Vector3I pos, Player hitted, Player by, int &restDistance, IList updates ) : void
ModifyDirection ( Vector3F &direction, Block currentBlock ) : void
VisitBlock ( World world, Vector3I pos, Block block, Player owner, int &restDistance, IList updates, Block sending ) : bool

Method Details

HitPlayer() public method

public HitPlayer ( World world, Vector3I pos, Player hitted, Player by, int &restDistance, IList updates ) : void
world World
pos Vector3I
hitted Player
by Player
restDistance int
updates IList
return void

ModifyDirection() public method

public ModifyDirection ( Vector3F &direction, Block currentBlock ) : void
direction Vector3F
currentBlock Block
return void

VisitBlock() public method

public VisitBlock ( World world, Vector3I pos, Block block, Player owner, int &restDistance, IList updates, Block sending ) : bool
world World
pos Vector3I
block Block
owner Player
restDistance int
updates IList
sending Block
return bool