Created
February 15, 2017 17:48
-
-
Save lukaspj/2576adcf2039fa7607645f098c45404e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Torque3D.Engine.Util.Enums | |
{ | |
public enum PlayerAction | |
{ | |
/// <summary> | |
/// Take no action, you damned camper. | |
/// </summary> | |
None, | |
/// <summary> | |
/// Strafe left. | |
/// </summary> | |
MoveLeft, | |
/// <summary> | |
/// Strafe right. | |
/// </summary> | |
MoveRight, | |
/// <summary> | |
/// Move the character forwards. | |
/// </summary> | |
MoveForward, | |
/// <summary> | |
/// Move the character backwards. | |
/// </summary> | |
MoveBackward, | |
/// <summary> | |
/// Turns right at a rate of 2 degrees per tick. This will increase the rotation value. | |
/// </summary> | |
TurnRight, | |
/// <summary> | |
/// Turns left at a rate of 2 degrees per tick. This will decrease the rotation value. | |
/// </summary> | |
TurnLeft, | |
/// <summary> | |
/// Shoot once, with a probability of missing. If the shoot delay is "active" (i.e. not at 0) then this action will fail. | |
/// </summary> | |
Shoot, | |
/// <summary> | |
/// Save one action for next round. | |
/// </summary> | |
Prepare | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment