C# 클래스 fCraft.BulletBehavior

상속: IParticleBehavior
파일 보기 프로젝트 열기: GlennMR/800craft

공개 메소드들

메소드 설명
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