Changeset 10894 for code/branches/hoverHS15
- Timestamp:
- Nov 30, 2015, 3:47:42 PM (9 years ago)
- Location:
- code/branches/hoverHS15/src/modules/hover
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hoverHS15/src/modules/hover/CMakeLists.txt
r10751 r10894 4 4 HoverWall.cc 5 5 HoverOrigin.cc 6 HoverFlag.cc 6 7 ) 7 8 -
code/branches/hoverHS15/src/modules/hover/Hover.cc
r10835 r10894 36 36 37 37 #include "HoverWall.h" 38 #include "HoverFlag.h" 38 39 #include "core/CoreIncludes.h" 39 40 … … 45 46 #include <stdint.h> 46 47 #include <fstream> 47 48 #include <vector> 48 49 49 50 namespace orxonox … … 140 141 141 142 143 for ( int i = 0; i < 5; i++ ) 144 flagVector.push_back(new HoverFlag(origin_->getContext(), rand()%10, rand()%10)); 142 145 143 //new Hover Wall(origin_->getContext(), 1, 1, 1); //Rechts in Y Richtung146 //new HoverFlag(origin_->getContext()); //Rechts in Y Richtung 144 147 //new HoverWall(origin_->getContext(), 5, 6, 0); //Ueber in x richtung 145 148 //new HoverWall(origin_->getContext(), 5, 5, 0); //Ueber in x richtung 146 } 149 } 150 for ( int i = 0; i < flagVector.size(); i++ ){ 151 if(flagVector[i]->getCollided()){ 152 flagVector[i]->destroyLater(); 153 flagVector.erase (flagVector.begin()+i); 154 } 155 } 156 147 157 148 158 -
code/branches/hoverHS15/src/modules/hover/Hover.h
r10835 r10894 103 103 void MazeOut(); 104 104 void LevelOut(); 105 std::vector<HoverFlag*> flagVector; 105 106 106 107 -
code/branches/hoverHS15/src/modules/hover/HoverPrereqs.h
r10751 r10894 72 72 class HoverWall; 73 73 class HoverOrigin; 74 class HoverFlag; 74 75 } 75 76
Note: See TracChangeset
for help on using the changeset viewer.