UserControls.h File Reference

a basic UserControl class which processes the user controls for the user More...

#include "UserAgent.h"
Include dependency graph for UserControls.h:
This graph shows which files directly or indirectly include this file:

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
}

Detailed Description

a basic UserControl class which processes the user controls for the user

Author:
Sai Raghunandan
Version:
1.0
Date:
12/08/13

Definition in file UserControls.h.


Enumeration Type Documentation

Enumerator:
kUp 
kDown 
kLeft 
kRight 
kShoot 
kUpLeft 
kUpRight 
kDownLeft 
kDownRight 
kUpDown 
kLeftRight 

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 };


Generated on 16 Aug 2013 for Multi-AgentSystem by  doxygen 1.6.1