/[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.3 by thunder, Tue Jul 22 10:47:22 2003 UTC revision 1.4 by thunder, Wed Aug 13 16:34:54 2003 UTC
# Line 27  Line 27 
27    
28  #include "HgStatic.h"  #include "HgStatic.h"
29    
30  @interface HgMobile : HgStatic <NSCoding>  @class NSCoder;
31    
32    @interface HgMobile : HgStatic
33  {  {
34  @private  @private
35    coord_t  _velocity;    coord_t  _velocity;
# Line 35  Line 37 
37    float    _acceleration;    float    _acceleration;
38    float    _direction;    float    _direction;
39    unsigned _maxSpeed;    unsigned _maxSpeed;
40    unsigned _maxAcceleration;    unsigned _maxAcceleration;
41  }  }
42    
43  - (id) initWithGame: (HgGame *)game  - (id) initWithGame: (HgGame *)game
# Line 55  Line 57 
57  - (void) setMaxSpeed: (unsigned)maxSpeed;  - (void) setMaxSpeed: (unsigned)maxSpeed;
58  - (void) setMaxAcceleration: (unsigned)maxAcceleration;  - (void) setMaxAcceleration: (unsigned)maxAcceleration;
59    
   
60  @end  @end
61    
62    @interface HgMobile (NSCoding)
63    
64    - (void)encodeWithCoder: (NSCoder *)encoder;
65    - (id)initWithCoder: (NSCoder *)decoder;
66    
67    @end
68    
69  #endif  /* HG_MOBILE_H */  #endif  /* HG_MOBILE_H */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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