59 |
_proxy = RETAIN(proxy); |
_proxy = RETAIN(proxy); |
60 |
_game = RETAIN(game); |
_game = RETAIN(game); |
61 |
_player = RETAIN([proxy player]); |
_player = RETAIN([proxy player]); |
62 |
_playerState = [[HgPlayerState alloc] initWithPlayer: _player]; |
_playerState = [[HgPlayerState alloc] init]; |
63 |
} |
} |
64 |
|
|
65 |
return self; |
return self; |
197 |
/** |
/** |
198 |
* Send a request to the server to update the player's state |
* Send a request to the server to update the player's state |
199 |
*/ |
*/ |
200 |
- (void) updatePlayerState: (HgPlayerState *)playerState |
- (void) updatePlayerState |
201 |
{ |
{ |
202 |
NSParameterAssert(playerState); |
[_proxy updatePlayerState: _playerState]; |
|
|
|
|
[_proxy updatePlayerState: playerState]; |
|
203 |
} |
} |
204 |
|
|
205 |
|
|