C# 클래스 ParticleEngine.Particle.AbstractParticle

파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2

공개 프로퍼티들

프로퍼티 타입 설명
alive System.Boolean

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AbstractParticle ( ParticleEmitter emitter ) : System
Draw ( SpriteBatch sb ) : void
GetLocation ( ) : Point

Gets the location of this particle on the screen.

GetPercentageOfLifespan ( ) : int

Gets the percentage of the lifespan the particle

ShouldDie ( ) : System.Boolean

Determines if the particle should die.

Update ( float time_step ) : System.Boolean

Updates the particle.

메소드 상세

AbstractParticle() 공개 메소드

public AbstractParticle ( ParticleEmitter emitter ) : System
emitter ParticleEngine.Emitter.ParticleEmitter
리턴 System

Draw() 공개 메소드

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

GetLocation() 공개 메소드

Gets the location of this particle on the screen.
public GetLocation ( ) : Point
리턴 Point

GetPercentageOfLifespan() 공개 메소드

Gets the percentage of the lifespan the particle
public GetPercentageOfLifespan ( ) : int
리턴 int

ShouldDie() 공개 메소드

Determines if the particle should die.
public ShouldDie ( ) : System.Boolean
리턴 System.Boolean

Update() 공개 메소드

Updates the particle.
public Update ( float time_step ) : System.Boolean
time_step float FPS timestep
리턴 System.Boolean

프로퍼티 상세

alive 공개적으로 프로퍼티

public Boolean,System alive
리턴 System.Boolean