- Timestamp:
- Nov 7, 2018, 10:44:00 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/src/modules/wagnis/WagnisPlayer.cc
r12069 r12080 14 14 15 15 //Constructor 16 WagnisPlayer::WagnisPlayer(Context* context ) : OrxonoxClass(context){16 WagnisPlayer::WagnisPlayer(Context* context,WagnisGameboard* gb) : Baseclass(context){ 17 17 RegisterObject(WagnisPlayer); 18 this->origin = nullptr; 19 this->target = nullptr; 20 this->gameBoard = gb; 18 21 } 19 22 //Destructor … … 25 28 26 29 } 30 //checks if a move is valid 31 bool WagnisPlayer::checkMove(WagnisGameboard*,WagnisProvince*,WagnisProvince*){ 32 return false; 33 } 27 34 // 28 void WagnisPlayer::setTroops(WagnisGameboard* gameBoard,WagnisProvince* prov ){35 void WagnisPlayer::setTroops(WagnisGameboard* gameBoard,WagnisProvince* prov,MoveType type){ 29 36 30 37 }
Note: See TracChangeset
for help on using the changeset viewer.