Changeset 12114 for code/branches/wagnis_HS18/src/modules/wagnis/Wagnis.h
- Timestamp:
- Nov 21, 2018, 12:03:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/src/modules/wagnis/Wagnis.h
r12072 r12114 1 2 3 4 #ifndef Wagnis_h 5 #define Wagnis_h 6 7 1 8 #include "WagnisGameboard.h" 2 9 #include "WagnisProvince.h" 10 #include "gametypes/Deathmatch.h" 11 3 12 4 13 /** Die Wagnis Klasse hat die folgenden Aufgaben: … … 18 27 **/ 19 28 29 30 20 31 namespace orxonox 21 32 { 22 class _WagnisExportWagnis : public Deathmatch33 class /**_WagnisExport**/ Wagnis : public Deathmatch 23 34 { 24 public:25 35 26 // to start the game 27 void createGame(); // creates and links provinces 28 29 30 // additional checking funtions 31 int troopCounter(int); // counts how many reinforcements player gets 32 bool attackChecker; // checks whether an attack move is valid 33 // (provinces linked, enough troops, no own province) 34 bool moveChecker; // checks whether a troop movement is valid 35 // (start and target belong to player, link existing) 36 void attackSimulator; // calculates outcome of battle 37 38 39 } 40 36 }; 41 37 } 38 #endif 39 /* Wagnis_h */
Note: See TracChangeset
for help on using the changeset viewer.