a basic UserControl class which processes the user controls for the user More...
#include "UserAgent.h"
Go to the source code of this file.
Classes | |
struct | UserMotion |
class | UserControls |
Enumerations | |
enum | GameControls { kUp = 1 << 0, kDown = 1 << 1, kLeft = 1 << 2, kRight = 1 << 3, kShoot = 1 << 4, kUpLeft = kUp | kLeft, kUpRight = kUp | kRight, kDownLeft = kDown | kLeft, kDownRight = kDown | kRight, kUpDown = kUp | kDown, kLeftRight = kRight | kLeft } |
a basic UserControl class which processes the user controls for the user
Definition in file UserControls.h.
enum GameControls |
Definition at line 19 of file UserControls.h.
00020 { 00021 kUp = 1 << 0, 00022 kDown = 1 << 1, 00023 kLeft = 1 << 2, 00024 kRight = 1 << 3, 00025 kShoot = 1 << 4, 00026 00027 kUpLeft = kUp | kLeft, 00028 kUpRight = kUp | kRight, 00029 kDownLeft = kDown | kLeft, 00030 kDownRight = kDown | kRight, 00031 00032 // nonsense controls 00033 kUpDown = kUp | kDown, 00034 kLeftRight = kRight | kLeft 00035 };