00001 #ifndef HEADER_CONTROLSYM_H
00002 #define HEADER_CONTROLSYM_H
00003
00004
00005
00006
00007
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