| 1 | #include "player.h" |
| 2 | |
| 3 | Player::Player(int _id):id(_id){ |
| 4 | my_fish = FishSet(1); |
| 5 | my_fish.player_id = _id; |
| 6 | fight_fish = FishSet(); |
| 7 | fight_fish.player_id = _id; |
| 8 | } |
| 9 | |
| 10 | Player::Player(int _id, FishSet _my_fish):id(_id),my_fish(_my_fish){ |
| 11 | my_fish = FishSet(1); |