Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2018, 12:03:16 PM (5 years ago)
Author:
stadlero
Message:

WIP 21 nov

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
    18#include "WagnisGameboard.h"
    29#include "WagnisProvince.h"
     10#include "gametypes/Deathmatch.h"
     11
    312
    413/** Die Wagnis Klasse hat die folgenden Aufgaben:
     
    1827 **/
    1928
     29
     30
    2031namespace orxonox
    2132{
    22     class _WagnisExport Wagnis : public Deathmatch
     33    class /**_WagnisExport**/ Wagnis : public Deathmatch
    2334    {
    24         public:
    2535
    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    };
    4137}
     38#endif
     39 /* Wagnis_h */
Note: See TracChangeset for help on using the changeset viewer.