/[hegemonie]/hegemonie/Headers/GameEngine/HgMobile.h
ViewVC logotype

Diff of /hegemonie/Headers/GameEngine/HgMobile.h

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

revision 1.6 by nicov, Wed Aug 20 13:27:08 2003 UTC revision 1.7 by dam, Fri Aug 22 08:02:06 2003 UTC
# Line 30  Line 30 
30  @interface HgMobile : HgStatic  @interface HgMobile : HgStatic
31  {  {
32  @private  @private
   coord_t  _velocity;  
   coord_t  _angularVelocity;  
   float    _acceleration;  
   float    _direction;  
33    unsigned _maxSpeed;    unsigned _maxSpeed;
34    unsigned _maxAcceleration;    unsigned _maxAcceleration;
35  }  }
# Line 41  Line 37 
37  - (id) initWithGame: (HgGame *)game  - (id) initWithGame: (HgGame *)game
38               player: (HgPlayer *)player               player: (HgPlayer *)player
39             position: (coord_t)position             position: (coord_t)position
40             velocity: (coord_t)velocity       linearvelocity: (coord_t)linearVelocity
41      angularVelocity: (coord_t)angularVelocity      angularVelocity: (coord_t)angularVelocity;
42         acceleration: (float)acceleration  
43            direction: (float)direction;  - (coord_t) linearVelocity;
44    - (void) setLinearVelocity :(coord_t)linearVelocity;
45    
 - (coord_t) velocity;  
 - (void) setVelocity :(coord_t)velocity;  
 - (float) direction;  
 - (void) setDirection :(float)direction;  
 - (void) setAcceleration: (float)acceleration;  
46  - (coord_t) angularVelocity;  - (coord_t) angularVelocity;
47  - (void) updatePositon;  - (void) setAngularVelocity :(coord_t)angularVelocity;
48    
49  - (void) setMaxSpeed: (unsigned)maxSpeed;  - (void) setMaxSpeed: (unsigned)maxSpeed;
50  - (void) setMaxAcceleration: (unsigned)maxAcceleration;  - (void) setMaxAcceleration: (unsigned)maxAcceleration;
51    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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