- Timestamp:
- Sep 26, 2013, 10:07:24 PM (11 years ago)
- Branches:
- master
- Children:
- f203c5c
- Parents:
- b92e6a7
- Location:
- common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
rb92e6a7 rf41a7f9 32 32 this->hasBlueFlag = false; 33 33 this->hasRedFlag = false; 34 35 this->currentGame = NULL; 34 36 } 35 37 … … 61 63 this->hasBlueFlag = p.hasBlueFlag; 62 64 this->hasRedFlag = p.hasRedFlag; 65 66 this->currentGame = p.currentGame; 63 67 } 64 68 … … 88 92 this->hasBlueFlag = false; 89 93 this->hasRedFlag = false; 94 95 this->currentGame = NULL; 90 96 } 91 97 -
common/Player.h
rb92e6a7 rf41a7f9 18 18 19 19 using namespace std; 20 21 //forward declaration 22 class Game; 20 23 21 24 class Player { … … 77 80 bool hasBlueFlag; 78 81 bool hasRedFlag; 82 83 Game* currentGame; 79 84 }; 80 85
Note:
See TracChangeset
for help on using the changeset viewer.