- Timestamp:
- May 26, 2016, 3:13:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS16/src/modules/hover/Hover.h
r11071 r11199 24 24 * Co-authors: 25 25 * Cyrill Burgener 26 * Tomer Gidron 26 27 * 27 28 */ … … 37 38 38 39 #include "HoverPrereqs.h" 40 #include "HoverShip.h" 39 41 40 42 #include <vector> … … 42 44 #include "gametypes/Gametype.h" 43 45 #include "HoverOrigin.h" 46 #include "pickup/PickupSpawner.h" 44 47 45 48 namespace orxonox … … 55 58 { this->origin_ = origin; } 56 59 60 void start(); 61 void createFlags(); 62 void levelUp(); 63 void endLevel(); 64 void costLife(); 65 57 66 inline int getNumberOfFlags() const 58 67 { return this->numberOfFlags_; } 59 68 69 virtual Vector3 get3dCoordinates(int x, int y, float heightOffset); 70 71 inline int getTotFlags() const 72 { return this->totFlags; } 73 74 inline int getLives() const 75 { return this->lives; } 76 77 inline int getLevel() const 78 { return this->level; } 79 80 bool bLevelUpgradeHUD; 81 60 82 private: 83 61 84 WeakPtr<HoverOrigin> origin_; 62 85 std::vector<HoverFlag*> flags_; 63 86 int numberOfFlags_; 64 87 bool firstTick_; 88 int level; 89 int lives; 90 int flagsTaken; 91 92 int cellSize; 93 int cellHeight; 94 int numCells; 95 96 int totFlags; 97 98 std::vector<PickupSpawner*> pickupSpawners_; 99 100 void toggleShowLevel(){bLevelUpgradeHUD = !bLevelUpgradeHUD;} 101 102 Timer showLevelTimer; 65 103 }; 66 104 }
Note: See TracChangeset
for help on using the changeset viewer.