C# Class MrGravity.ParticleEngine.ParticleEngine

显示文件 Open project: DizWARE/Mr-Gravity Class Usage Examples

Public Properties

Property Type Description
ColorScheme string
Ttl int

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
ParticleEngine ( List textures, Vector2 location, int ttl ) : System
Update ( int particleCount ) : void

Private Methods

Method Description
GenerateNewParticle ( ) : Particle

Method Details

Draw() public method

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

ParticleEngine() public method

public ParticleEngine ( List textures, Vector2 location, int ttl ) : System
textures List
location Vector2
ttl int
return System

Update() public method

public Update ( int particleCount ) : void
particleCount int
return void

Property Details

ColorScheme public_oe property

public string ColorScheme
return string

Ttl public_oe property

public int Ttl
return int