Midnight Blue Game and Engine
Public Member Functions | Protected Member Functions | List of all members
MB2D.IO.RotateLeft Class Reference

Rotates an entity left More...

Inheritance diagram for MB2D.IO.RotateLeft:
Inheritance graph
Collaboration diagram for MB2D.IO.RotateLeft:
Collaboration graph

Public Member Functions

 RotateLeft (Keys key, CommandType type)
 Initializes a new instance of the T:MB2D.IO.RotateLeft 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=null)
 Rotates an entity left 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

Rotates an entity left

Constructor & Destructor Documentation

§ RotateLeft()

MB2D.IO.RotateLeft.RotateLeft ( Keys  key,
CommandType  type 
)
inline

Initializes a new instance of the T:MB2D.IO.RotateLeft class.

Parameters
keyKey to assign to.
typeTrigger type.

Member Function Documentation

§ OnKeyPress()

override void MB2D.IO.RotateLeft.OnKeyPress ( Entity  e = null)
inlineprotectedvirtual

Rotates an entity left

Parameters
eEntity to rotate.

Implements MB2D.IO.Command.


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