Lands the ship
More...
§ LandCommand()
MidnightBlue.LandCommand.LandCommand |
( |
Keys |
key, |
|
|
CommandType |
type |
|
) |
| |
|
inline |
Initializes a new instance of the T:MidnightBlue.LandCommand class.
- Parameters
-
key | Key to assign to. |
type | Trigger type. |
§ OnKeyPress()
override void MidnightBlue.LandCommand.OnKeyPress |
( |
Entity |
e | ) |
|
|
inlineprotectedvirtual |
Lands the ship on the key press if terrain is landable
- Parameters
-
e | Entity with the ship controller to operate on. |
Implements MB2D.IO.Command.
The documentation for this class was generated from the following file:
- Shared/src/Game/Commands/ShipCommands.cs