public MovementDirections GetDirection(HotkeyTypes hotkey) { switch (hotkey) { case HotkeyTypes.MoveBackward: return(MovementDirections.Back); case HotkeyTypes.MoveLeft: return(MovementDirections.Left); case HotkeyTypes.MoveRight: return(MovementDirections.Right); case HotkeyTypes.TurnLeft: return(MovementDirections.TurnLeft); case HotkeyTypes.TurnRight: return(MovementDirections.TurnRight); default: return(MovementDirections.Forward); } }
public HotkeyFinished(HotkeyTypes hotkey) { Hotkey = hotkey; }
public HotkeyTriggered(HotkeyTypes hotkey) { Hotkey = hotkey; }