Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ControlSym.h

Go to the documentation of this file.
00001 #ifndef HEADER_CONTROLSYM_H
00002 #define HEADER_CONTROLSYM_H
00003 
00004 /**
00005  * Control symbols to save.
00006  * Symbols can be printable characters only
00007  * (are stored in saved_moves as plain text).
00008  */
00009 class ControlSym {
00010     public:
00011         static const char SYM_NONE = 0;
00012     private:
00013         char m_up;
00014         char m_down;
00015         char m_left;
00016         char m_right;
00017     public:
00018         ControlSym(char up, char down, char left, char right)
00019             : m_up(up), m_down(down), m_left(left), m_right(right)
00020         {}
00021 
00022         char getUp() const { return m_up; }
00023         char getDown() const { return m_down; }
00024         char getLeft() const { return m_left; }
00025         char getRight() const { return m_right; }
00026 };
00027 
00028 #endif

Generated on Wed Jun 1 09:54:30 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2