C# Class fCraft.BulletBehavior

Inheritance: IParticleBehavior
Afficher le fichier Open project: GlennMR/800craft

Méthodes publiques

Méthode Description
CanPlacePortal ( int x, int y, int z, Map map ) : bool
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

CanPlacePortal() public static méthode

public static CanPlacePortal ( int x, int y, int z, Map map ) : bool
x int
y int
z int
map Map
Résultat bool

HitPlayer() public méthode

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
Résultat void

ModifyDirection() public méthode

public ModifyDirection ( Vector3F &direction, Block currentBlock ) : void
direction Vector3F
currentBlock Block
Résultat void

VisitBlock() public méthode

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
Résultat bool