C# Class TuneBlaster_.Particle

Mostrar archivo Open project: kiniry-teaching/UCD Class Usage Examples

Public Properties

Property Type Description
Acceleration Vector2
Position Vector2
Velocity Vector2

Public Methods

Method Description
Initialize ( Vector2 position, Vector2 velocity, Vector2 acceleration, float lifetime, float scale, float rotationSpeed ) : void
Update ( float dt ) : void

Method Details

Initialize() public method

public Initialize ( Vector2 position, Vector2 velocity, Vector2 acceleration, float lifetime, float scale, float rotationSpeed ) : void
position Vector2
velocity Vector2
acceleration Vector2
lifetime float
scale float
rotationSpeed float
return void

Update() public method

public Update ( float dt ) : void
dt float
return void

Property Details

Acceleration public_oe property

public Vector2 Acceleration
return Vector2

Position public_oe property

public Vector2 Position
return Vector2

Velocity public_oe property

public Vector2 Velocity
return Vector2