C# Class StarWarrior.Components.VelocityComponent

The velocity.
Inheritance: IComponent
Afficher le fichier Open project: thelinuxlich/starwarrior_CSharp

Méthodes publiques

Méthode 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 méthode

The add angle.
public AddAngle ( float angle ) : void
angle float The angle.
Résultat void

VelocityComponent() public méthode

Initializes a new instance of the VelocityComponent class.
public VelocityComponent ( ) : System
Résultat System

VelocityComponent() public méthode

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

VelocityComponent() public méthode

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