C# Класс fCraft.BulletBehavior

Наследование: IParticleBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CanPlacePortal() публичный статический Метод

public static CanPlacePortal ( int x, int y, int z, Map map ) : bool
x int
y int
z int
map Map
Результат bool

HitPlayer() публичный Метод

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
Результат void

ModifyDirection() публичный Метод

public ModifyDirection ( Vector3F &direction, Block currentBlock ) : void
direction Vector3F
currentBlock Block
Результат void

VisitBlock() публичный Метод

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
Результат bool