C# Class SpaceSim.Particles.EngineFlame

Datei anzeigen Open project: zlynn1990/SpaceSim Class Usage Examples

Public Methods

Method Description
Draw ( Graphics graphics, RectangleD cameraBounds ) : void
EngineFlame ( int seed, Color color, int maxParticles, double particleRate, double minSpread, double maxSpread, double maxAge, double angle ) : System
Update ( SpaceSim.Physics.TimeStep timeStep, DVector2 enginePosition, DVector2 shipVelocity, double rotation, double throttle, double ispMultiplier ) : void

Method Details

Draw() public method

public Draw ( Graphics graphics, RectangleD cameraBounds ) : void
graphics System.Drawing.Graphics
cameraBounds VectorMath.RectangleD
return void

EngineFlame() public method

public EngineFlame ( int seed, Color color, int maxParticles, double particleRate, double minSpread, double maxSpread, double maxAge, double angle ) : System
seed int
color Color
maxParticles int
particleRate double
minSpread double
maxSpread double
maxAge double
angle double
return System

Update() public method

public Update ( SpaceSim.Physics.TimeStep timeStep, DVector2 enginePosition, DVector2 shipVelocity, double rotation, double throttle, double ispMultiplier ) : void
timeStep SpaceSim.Physics.TimeStep
enginePosition VectorMath.DVector2
shipVelocity VectorMath.DVector2
rotation double
throttle double
ispMultiplier double
return void