- Timestamp:
- Jan 4, 2016, 11:23:59 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/modules/hover/Hover.h
r11026 r11035 59 59 namespace orxonox 60 60 { 61 62 enum eDirection63 {64 eDirection_Invalid = 0,65 eDirection_Up = 1,66 eDirection_Right = 2,67 eDirection_Down = 4,68 eDirection_Left = 869 };70 71 61 class _HoverExport Hover : public Gametype 72 62 { … … 80 70 81 71 void setOrigin(HoverOrigin* origin) 82 72 { this->origin_ = origin; } 83 73 84 74 int getFlags(); 85 WeakPtr<HoverOrigin> origin_;86 75 87 76 private: 88 int CellIdx(); 89 int RandomInt(); 90 int RandomInt4(); 91 int Flags_; 92 93 bool IsDirValid( eDirection Dir ); 94 eDirection GetDirection(); 95 void GenerateMaze(); 96 void RenderMaze(); 97 void MazeOut(); 98 void LevelOut(); 99 std::vector<HoverFlag*> flagVector; 100 101 77 WeakPtr<HoverOrigin> origin_; 78 std::vector<HoverFlag*> flagVector_; 79 int flags_; 80 bool firstTick_; 102 81 }; 103 82 }
Note: See TracChangeset
for help on using the changeset viewer.