C# 클래스 fCraft.Particle

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

공개 메소드들

메소드 설명
Particle ( World world, Vector3I pos, Vector3F direction, Player owner, Block block, IParticleBehavior behavior ) : System

Initializes a new instance of the Particle class.

보호된 메소드들

메소드 설명
PerformInternal ( ) : int

비공개 메소드들

메소드 설명
CheckHitPlayers ( List updates ) : void
Move ( ) : Vector3I

메소드 상세

Particle() 공개 메소드

Initializes a new instance of the Particle class.
public Particle ( World world, Vector3I pos, Vector3F direction, Player owner, Block block, IParticleBehavior behavior ) : System
world World The world.
pos Vector3I The initial position.
direction Vector3F The direction in which the particle is flying.
owner Player The owner of the particle.
block Block The block type of the particle.
behavior IParticleBehavior The partcle behavior. Includes how fare and fast it moves, what happens if it hits a player an obstacle etc.
리턴 System

PerformInternal() 보호된 메소드

protected PerformInternal ( ) : int
리턴 int