Midnight Blue Game and Engine
Properties | List of all members
MB2D.EntityComponent.PhysicsComponent Class Reference

Physics component used to define acceleration and velocity. More...

Inheritance diagram for MB2D.EntityComponent.PhysicsComponent:
Inheritance graph
Collaboration diagram for MB2D.EntityComponent.PhysicsComponent:
Collaboration graph

Properties

float RotationAcceleration [get, set]
 Gets or sets the current acceleration of the rotation. More...
 
Vector2 Acceleration [get, set]
 Gets or sets the current acceleration. More...
 
Vector2 Velocity [get, set]
 Gets or sets the current positional velocity. More...
 
float Power [get, set]
 Gets or sets the current power applied. More...
 

Detailed Description

Physics component used to define acceleration and velocity.

Property Documentation

§ Acceleration

Vector2 MB2D.EntityComponent.PhysicsComponent.Acceleration
getset

Gets or sets the current acceleration.

The acceleration.

§ Power

float MB2D.EntityComponent.PhysicsComponent.Power
getset

Gets or sets the current power applied.

The power applied.

§ RotationAcceleration

float MB2D.EntityComponent.PhysicsComponent.RotationAcceleration
getset

Gets or sets the current acceleration of the rotation.

The rotation acceleration.

§ Velocity

Vector2 MB2D.EntityComponent.PhysicsComponent.Velocity
getset

Gets or sets the current positional velocity.

The velocity.


The documentation for this class was generated from the following file: