Changeset 11495 for code/trunk/src/modules/hover/Hover.h
- Timestamp:
- Oct 23, 2017, 12:23:21 AM (7 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/tgidronFS16 removed
- Property svn:mergeinfo changed
-
code/trunk/src/modules/hover/Hover.h
r11493 r11495 24 24 * Co-authors: 25 25 * Cyrill Burgener 26 * Tomer Gidron27 26 * 28 27 */ … … 38 37 39 38 #include "HoverPrereqs.h" 40 #include "HoverShip.h"41 39 42 40 #include <vector> … … 44 42 #include "gametypes/Gametype.h" 45 43 #include "HoverOrigin.h" 46 #include "pickup/PickupSpawner.h"47 44 48 45 namespace orxonox … … 58 55 { this->origin_ = origin; } 59 56 60 void start();61 void createFlags();62 void levelUp();63 void endLevel();64 void costLife();65 66 57 inline int getNumberOfFlags() const 67 58 { return this->numberOfFlags_; } 68 59 69 virtual Vector3 get3dCoordinates(int x, int y, float heightOffset);70 71 inline int getTotFlags() const72 { return this->totFlags; }73 74 inline int getLives() const75 { return this->lives; }76 77 inline int getLevel() const78 { return this->level; }79 80 bool bLevelUpgradeHUD;81 82 60 private: 83 84 61 WeakPtr<HoverOrigin> origin_; 85 62 std::vector<HoverFlag*> flags_; 86 63 int numberOfFlags_; 87 64 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;103 65 }; 104 66 }
Note: See TracChangeset
for help on using the changeset viewer.