cmil::HatAction Class Reference

#include <InputData.h>

Inheritance diagram for cmil::HatAction:

Inheritance graph
[legend]
Collaboration diagram for cmil::HatAction:

Collaboration graph
[legend]
List of all members.

Public Types

 Centered
 Up
 Right
 Down
 Left
 RightUp
 RightDown
 LeftUp
 LeftDown
enum  Position {
  Centered, Up, Right, Down,
  Left, RightUp, RightDown, LeftUp,
  LeftDown
}

Public Member Functions

 HatAction (const std::string &name)
virtual void Movement (Position pos)=0

Detailed Description

Definition at line 286 of file InputData.h.


Member Enumeration Documentation

enum cmil::HatAction::Position

Enumerator:
Centered 
Up 
Right 
Down 
Left 
RightUp 
RightDown 
LeftUp 
LeftDown 

Definition at line 288 of file InputData.h.

00288                     {
00289         Centered, 
00290         Up,
00291         Right,
00292         Down,
00293         Left,
00294         RightUp,  
00295         RightDown,
00296         LeftUp, 
00297         LeftDown
00298       };


Constructor & Destructor Documentation

cmil::HatAction::HatAction ( const std::string &  name  )  [inline]

Definition at line 300 of file InputData.h.

00300 : InputAction(name) {}


Member Function Documentation

virtual void cmil::HatAction::Movement ( Position  pos  )  [pure virtual]

Referenced by cmil::Hat::do_run().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
(c) 2006-2007 John P. Feltz
Generated on Wed Jul 25 16:08:02 2007 for Common Media Input Layer by doxygen 1.4.7

SourceForge.net Logo