Space Engineers
Public Member Functions | Public Attributes | Properties | Events | List of all members
Sandbox.Game.GameSystems.MyGridWheelSystem Class Reference

Public Member Functions

 MyGridWheelSystem (MyCubeGrid grid)
 
void Register (MyMotorSuspension motor)
 
void Unregister (MyMotorSuspension motor)
 
void UpdateBeforeSimulation ()
 
bool HasWorkingWheels (bool propulsion)
 

Public Attributes

Vector3 AngularVelocity
 
MyResourceSinkComponent SinkComp
 
Matrix CockpitMatrix
 

Properties

HashSet< MyMotorSuspensionWheels [get]
 
int WheelCount [get]
 
bool HandBrake [get, set]
 
bool Brake [set]
 

Events

Action< MyCubeGridOnMotorUnregister
 

Detailed Description

Definition at line 14 of file MyGridWheelSystem.cs.

Constructor & Destructor Documentation

Sandbox.Game.GameSystems.MyGridWheelSystem.MyGridWheelSystem ( MyCubeGrid  grid)
inline

Definition at line 70 of file MyGridWheelSystem.cs.

Member Function Documentation

bool Sandbox.Game.GameSystems.MyGridWheelSystem.HasWorkingWheels ( bool  propulsion)
inline

Definition at line 145 of file MyGridWheelSystem.cs.

void Sandbox.Game.GameSystems.MyGridWheelSystem.Register ( MyMotorSuspension  motor)
inline

Definition at line 95 of file MyGridWheelSystem.cs.

void Sandbox.Game.GameSystems.MyGridWheelSystem.Unregister ( MyMotorSuspension  motor)
inline

Definition at line 106 of file MyGridWheelSystem.cs.

void Sandbox.Game.GameSystems.MyGridWheelSystem.UpdateBeforeSimulation ( )
inline

Definition at line 116 of file MyGridWheelSystem.cs.

Member Data Documentation

Vector3 Sandbox.Game.GameSystems.MyGridWheelSystem.AngularVelocity

Definition at line 17 of file MyGridWheelSystem.cs.

Matrix Sandbox.Game.GameSystems.MyGridWheelSystem.CockpitMatrix

Definition at line 33 of file MyGridWheelSystem.cs.

MyResourceSinkComponent Sandbox.Game.GameSystems.MyGridWheelSystem.SinkComp

Definition at line 29 of file MyGridWheelSystem.cs.

Property Documentation

bool Sandbox.Game.GameSystems.MyGridWheelSystem.Brake
set

Definition at line 50 of file MyGridWheelSystem.cs.

bool Sandbox.Game.GameSystems.MyGridWheelSystem.HandBrake
getset

Definition at line 37 of file MyGridWheelSystem.cs.

int Sandbox.Game.GameSystems.MyGridWheelSystem.WheelCount
get

Definition at line 31 of file MyGridWheelSystem.cs.

HashSet<MyMotorSuspension> Sandbox.Game.GameSystems.MyGridWheelSystem.Wheels
get

Definition at line 22 of file MyGridWheelSystem.cs.

Event Documentation

Action<MyCubeGrid> Sandbox.Game.GameSystems.MyGridWheelSystem.OnMotorUnregister

Definition at line 104 of file MyGridWheelSystem.cs.


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