C# Class StarWarrior.Components.VelocityComponent

The velocity.
Inheritance: IComponent
Show file Open project: thelinuxlich/starwarrior_CSharp

Public Methods

Method Description
AddAngle ( float angle ) : void

The add angle.

VelocityComponent ( ) : System

Initializes a new instance of the VelocityComponent class.

VelocityComponent ( float velocity ) : System

Initializes a new instance of the VelocityComponent class.

VelocityComponent ( float velocity, float angle ) : System

Initializes a new instance of the VelocityComponent class.

Method Details

AddAngle() public method

The add angle.
public AddAngle ( float angle ) : void
angle float The angle.
return void

VelocityComponent() public method

Initializes a new instance of the VelocityComponent class.
public VelocityComponent ( ) : System
return System

VelocityComponent() public method

Initializes a new instance of the VelocityComponent class.
public VelocityComponent ( float velocity ) : System
velocity float The velocity.
return System

VelocityComponent() public method

Initializes a new instance of the VelocityComponent class.
public VelocityComponent ( float velocity, float angle ) : System
velocity float The velocity.
angle float The angle.
return System