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

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

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

revision 1.8 by nicov, Wed Aug 20 13:22:10 2003 UTC revision 1.9 by dam, Fri Aug 22 08:02:35 2003 UTC
# Line 24  Line 24 
24  #ifndef HG_OBJECT_H  #ifndef HG_OBJECT_H
25  #define HG_OBJECT_H  #define HG_OBJECT_H
26    
27    #include <ode/objects.h>
28    
29  #include <Foundation/NSObject.h>  #include <Foundation/NSObject.h>
30    
31  #include "Common/Coord.h"  #include "Common/Coord.h"
# Line 35  Line 37 
37  @class HgGame;  @class HgGame;
38  @class HgPlayer;  @class HgPlayer;
39    
40    @class Quaternion;
41  @class MdlModel;  @class MdlModel;
42    
43  @interface HgObject : NSObject  @interface HgObject : NSObject
44  {  {
   
45  @private  @private
46    unsigned        _identifier;    unsigned        _identifier;
47    id              _delegate;    id              _data;
48    coord_t         _position;    dBodyID         _dBody;
49    coord_t         _orientation;    NSMutableArray *_boundingBoxes;
50    HgGame         *_game;    HgGame         *_game;
51    NSNumber       *_playerIdentifier;    HgPlayer       *_player;
52  }  }
53    
54  + (NSString *) name;  + (NSString *) name;
# Line 58  Line 60 
60    
61  - (unsigned) identifier;  - (unsigned) identifier;
62    
63  - (id) delegate;  - (id) data;
64  - (void) setDelegate: (id)delegate;  - (void) setData: (id)data;
65    
66  - (NSString *) state;  - (NSString *) state;
67    
68  - (coord_t) position;  - (coord_t) position;
69  - (void) setPosition: (coord_t)position;  - (void) setPosition: (coord_t)position;
70    
71  - (coord_t) orientation;  - (Quaternion *) orientation;
72  - (void) setOrientation: (coord_t)orientation;  - (void) setOrientation: (Quaternion *)orientation;
73    
74  - (HgGame *) game;  - (HgGame *) game;
75  - (HgPlayer *) player;  - (HgPlayer *) player;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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