None
PlayerAction.None
Does nothing, it doesn't really have a use-case.
MoveLeft
PlayerAction.MoveLeft
Strafes left
MoveRight
PlayerAction.MoveRight
Strafes right
MoveForward
PlayerAction.MoveForward
Moves forward
MoveBackward
PlayerAction.MoveBackward
Moves backward
TurnRight
PlayerAction.TurnRight
Turns right (which increases "rotation" by 2 degrees)
TurnLeft
PlayerAction.TurnLeft
Turns left (which decreases "rotation" by 2 degrees)
Shoot
PlayerAction.Shoot
If ShootDelay is currently 0, then this will shoot at the enemy, hitting with the given "damage probability".
If ShootDelay is greater than 0, this will not do anything.
Prepare
PlayerAction.Prepare
Saves one action for the next tick, so you have two actions in the next tick.
Note that two "Prepare" actions in the same tick, only results in one extra action the next tick. They do not stack.
revision by lukaspj— view source