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

Enters a star system scene from the galaxy view More...

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

Public Member Functions

 EnterStarSystem (Keys key, CommandType type)
 Initializes a new instance of the T:MidnightBlue.EnterStarSystem class. More...
 
- Public Member Functions inherited from MB2D.IO.Command
bool Execute (Entity e=null)
 Executes the specific command on the entity parameter More...
 

Protected Member Functions

override void OnKeyPress (Entity e)
 Enters the collided with star system on keypress More...
 
- Protected Member Functions inherited from MB2D.IO.Command
 Command (Keys key, CommandType commandType)
 Initializes a new instance of the T:MidnightBlue.Command class. More...
 

Additional Inherited Members

- Properties inherited from MB2D.IO.Command
CommandType Type [get, set]
 Gets or sets the trigger type of the command. More...
 
Keys Key [get]
 Gets the keycode associated with the command. More...
 
bool Disabled [get, set]
 

Detailed Description

Enters a star system scene from the galaxy view

Constructor & Destructor Documentation

§ EnterStarSystem()

MidnightBlue.EnterStarSystem.EnterStarSystem ( Keys  key,
CommandType  type 
)
inline

Initializes a new instance of the T:MidnightBlue.EnterStarSystem class.

Parameters
keyKey to assign to.
typeTrigger type.

Member Function Documentation

§ OnKeyPress()

override void MidnightBlue.EnterStarSystem.OnKeyPress ( Entity  e)
inlineprotectedvirtual

Enters the collided with star system on keypress

Parameters
eE.

Implements MB2D.IO.Command.


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