C# Class MrGravity.ParticleEngine.ParticleEngine

Afficher le fichier Open project: DizWARE/Mr-Gravity Class Usage Examples

Méthodes publiques

Свойство Type Description
ColorScheme string
Ttl int

Méthodes publiques

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

Private Methods

Méthode Description
GenerateNewParticle ( ) : Particle

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

ParticleEngine() public méthode

public ParticleEngine ( List textures, Vector2 location, int ttl ) : System
textures List
location Vector2
ttl int
Résultat System

Update() public méthode

public Update ( int particleCount ) : void
particleCount int
Résultat void

Property Details

ColorScheme public_oe property

public string ColorScheme
Résultat string

Ttl public_oe property

public int Ttl
Résultat int