Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | #include "WagnisPlayer.h" |
---|
8 | #include <vector> |
---|
9 | #include <string> |
---|
10 | |
---|
11 | namespace orxonox |
---|
12 | { |
---|
13 | RegisterClass(WagnisPlayer); |
---|
14 | |
---|
15 | //Constructor |
---|
16 | WagnisPlayer::WagnisPlayer(Context* context) : OrxonoxClass(context){ |
---|
17 | RegisterObject(WagnisPlayer); |
---|
18 | } |
---|
19 | //Destructor |
---|
20 | WagnisPlayer::~WagnisPlayer(){ |
---|
21 | |
---|
22 | } |
---|
23 | //Manages a Players turn |
---|
24 | void WagnisPlayer::playerTurn(WagnisGameboard* gameBoard){ |
---|
25 | |
---|
26 | } |
---|
27 | // |
---|
28 | void WagnisPlayer::setTroops(WagnisGameboard* gameBoard,WagnisProvince* prov){ |
---|
29 | |
---|
30 | } |
---|
31 | void WagnisPlayer::attack(WagnisGameboard* gameBoard,WagnisProvince* own,WagnisProvince* target){ |
---|
32 | |
---|
33 | } |
---|
34 | void WagnisPlayer::moveTroops(WagnisGameboard* gameBoard,WagnisProvince* current,WagnisProvince* target){ |
---|
35 | |
---|
36 | } |
---|
37 | //Return a "Player x" String |
---|
38 | std::string WagnisPlayer::toString(){ |
---|
39 | std::string str = "Player "; |
---|
40 | str.append(std::to_string(Player_ID); |
---|
41 | return str; |
---|
42 | } |
---|
43 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.