/[hegemonie]/hegemonie/GameEngine/HgPlayerState.m
ViewVC logotype

Diff of /hegemonie/GameEngine/HgPlayerState.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by thunder, Wed Aug 13 16:14:22 2003 UTC revision 1.12 by thunder, Wed Aug 13 16:44:04 2003 UTC
# Line 82  Line 82 
82  - (void) setAcceleration :(float)acceleration  - (void) setAcceleration :(float)acceleration
83  {  {
84    [[NSNotificationCenter defaultCenter]    [[NSNotificationCenter defaultCenter]
85      postNotificationName:@"updateObject" object: [self game]];      postNotificationName:@"updateObject" object: [_player game]];
86    
87    _acceleration = acceleration;    _acceleration = acceleration;
88  }  }
# Line 101  Line 101 
101  - (void) setDirection : (float)direction  - (void) setDirection : (float)direction
102  {  {
103    [[NSNotificationCenter defaultCenter]    [[NSNotificationCenter defaultCenter]
104      postNotificationName:@"updateObject" object: [self game]];      postNotificationName:@"updateObject" object: [_player game]];
105    
106    _direction = direction;    _direction = direction;
107  }  }
# Line 139  Line 139 
139  - (void) setCanonDirection: (float)canonDirection  - (void) setCanonDirection: (float)canonDirection
140  {  {
141    [[NSNotificationCenter defaultCenter]    [[NSNotificationCenter defaultCenter]
142      postNotificationName:@"updateObject" object: [self game]];      postNotificationName:@"updateObject" object: [_player game]];
143    
144    _canonDirection = canonDirection;    _canonDirection = canonDirection;
145  }  }
# Line 158  Line 158 
158  - (void) setCanonElevation: (unsigned)canonElevation  - (void) setCanonElevation: (unsigned)canonElevation
159  {  {
160    [[NSNotificationCenter defaultCenter]    [[NSNotificationCenter defaultCenter]
161      postNotificationName:@"updateObject" object: [self game]];      postNotificationName:@"updateObject" object: [_player game]];
162    
163    _canonElevation = canonElevation;    _canonElevation = canonElevation;
164  }  }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26