Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wagnis_HS18/src/modules/wagnis/WagnisPlayer.h @ 12069

Last change on this file since 12069 was 12069, checked in by stadlero, 5 years ago

Player class added

File size: 735 bytes
Line 
1
2
3
4
5
6#ifndef Wagnis_Player_h
7#define Wagnis_Player_h
8
9#include "OrxonoxPrereqs.h"
10#include "core/CoreIncludes.h"
11#include "core/XMLPort.h"
12#include <vector>
13#include <string>
14
15
16
17namespace orxonox
18{
19    class WagnisPlayer : public OrxonoxClass
20    {
21    public:
22        WagnisPlayer(Context*);
23        virtual ~WagnisPlayer();
24
25        void playerTurn(WagnisGameboard*);
26        bool checkMove(WagnisGameboard*,WagnisProvince*,WagnisProvince*)
27        void setTroops(WagnisGameboard*,WagnisProvince*);
28        void attack(WagnisGameboard*,WagnisProvince*,WagnisProvince*);
29        void moveTroops(WagnisGameboard*,WagnisProvince*,WagnisProvince*);
30        std::string toString();
31
32    private:
33        int Player_ID;
34
35    };
36}
37
38
39#endif
Note: See TracBrowser for help on using the repository browser.