C# Class TraceRacer.Particle

Show file Open project: alexcoco/trace_racer

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
Particle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 velocity, float angle, float angularVelocity, Color color, float size, int ttl ) : System
Update ( ) : void

Method Details

Draw() public method

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

Particle() public method

public Particle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 velocity, float angle, float angularVelocity, Color color, float size, int ttl ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
velocity Vector2
angle float
angularVelocity float
color Color
size float
ttl int
return System

Update() public method

public Update ( ) : void
return void