C# Class TuneBlaster_.Particles

Show file Open project: kiniry-teaching/UCD

Public Properties

Property Type Description
Acceleration System.Vector2
Position System.Vector2
Velocity System.Vector2

Public Methods

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

Method Details

Initialize() public method

public Initialize ( System.Vector2 position, System.Vector2 velocity, System.Vector2 acceleration, float lifetime, float scale, float rotationSpeed ) : void
position System.Vector2
velocity System.Vector2
acceleration System.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 property

public Vector2,System Acceleration
return System.Vector2

Position public property

public Vector2,System Position
return System.Vector2

Velocity public property

public Vector2,System Velocity
return System.Vector2