C# Class Supernova.Particles2D.ParticleEffect2D

Exibir arquivo Open project: jasonmitchell/supernova Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
Emit ( float totalMilliseconds, Vector2 position ) : void
ParticleEffect2D ( int maxParticles, int particleLifespan ) : System
Update ( float totalMilliseconds, float elapsedSeconds ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Emit() public method

public Emit ( float totalMilliseconds, Vector2 position ) : void
totalMilliseconds float
position Vector2
return void

ParticleEffect2D() public method

public ParticleEffect2D ( int maxParticles, int particleLifespan ) : System
maxParticles int
particleLifespan int
return System

Update() public method

public Update ( float totalMilliseconds, float elapsedSeconds ) : void
totalMilliseconds float
elapsedSeconds float
return void