C# Class SpaceSim.Drawing.EngineFlame

Afficher le fichier Open project: zlynn1990/SpaceSim Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Graphics graphics, RectangleD cameraBounds ) : void
EngineFlame ( int seed, 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 méthode

public Draw ( Graphics graphics, RectangleD cameraBounds ) : void
graphics System.Drawing.Graphics
cameraBounds VectorMath.RectangleD
Résultat void

EngineFlame() public méthode

public EngineFlame ( int seed, int maxParticles, double particleRate, double minSpread, double maxSpread, double maxAge, double angle ) : System
seed int
maxParticles int
particleRate double
minSpread double
maxSpread double
maxAge double
angle double
Résultat System

Update() public méthode

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
Résultat void