C# Class ParticleEditor.ParticleSystem

Afficher le fichier Open project: fallahn/xygine Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( RenderTarget target, RenderStates states ) : void
ParticleSystem ( ) : System
addAffector ( IAffector affector ) : void
move ( Vector2f distance ) : void
start ( byte releaseCount, float startDelay, float duration ) : void
stop ( ) : void
update ( float dt ) : void

Private Methods

Méthode Description
addParticle ( Vector2f position ) : void
addVertex ( Vector2f position, float u, float v, SFML colour ) : void
emit ( float dt ) : void
updateVertices ( ) : void

Method Details

Draw() public méthode

public Draw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states RenderStates
Résultat void

ParticleSystem() public méthode

public ParticleSystem ( ) : System
Résultat System

addAffector() public méthode

public addAffector ( IAffector affector ) : void
affector IAffector
Résultat void

move() public méthode

public move ( Vector2f distance ) : void
distance Vector2f
Résultat void

start() public méthode

public start ( byte releaseCount, float startDelay, float duration ) : void
releaseCount byte
startDelay float
duration float
Résultat void

stop() public méthode

public stop ( ) : void
Résultat void

update() public méthode

public update ( float dt ) : void
dt float
Résultat void