Midnight Blue Game and Engine
Public Member Functions | Properties | List of all members
MidnightBlue.ShipController Class Reference

Controls a ships movement and actions More...

Inheritance diagram for MidnightBlue.ShipController:
Inheritance graph
Collaboration diagram for MidnightBlue.ShipController:
Collaboration graph

Public Member Functions

 ShipController ()
 Initializes a new instance of the T:MidnightBlue.ShipController class and assigns all default input and key mappings. More...
 

Properties

InputMap InputMap [get]
 Gets the input map. More...
 
ShipState State [get, set]
 Gets or sets the current travel state of the ship. More...
 
bool IsLandable [get, set]
 Gets or sets a value indicating whether this T:MidnightBlue.ShipController is able to be landed when the entity calls their LandCommand. More...
 

Detailed Description

Controls a ships movement and actions

Constructor & Destructor Documentation

§ ShipController()

MidnightBlue.ShipController.ShipController ( )
inline

Initializes a new instance of the T:MidnightBlue.ShipController class and assigns all default input and key mappings.

Property Documentation

§ InputMap

InputMap MidnightBlue.ShipController.InputMap
get

Gets the input map.

The input map.

§ IsLandable

bool MidnightBlue.ShipController.IsLandable
getset

Gets or sets a value indicating whether this T:MidnightBlue.ShipController is able to be landed when the entity calls their LandCommand.

true if is landable; otherwise, false.

§ State

ShipState MidnightBlue.ShipController.State
getset

Gets or sets the current travel state of the ship.

The ships travelling state.


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