Last change
on this file since 10286 was
10147,
checked in by patrick, 18 years ago
|
merged the mount_point branche back to trunk to use the new std::* based obj file importer
|
File size:
634 bytes
|
Rev | Line | |
---|
[10050] | 1 | #ifndef _MOUNT_POINT_H |
---|
| 2 | #define _MOUNT_POINT_H |
---|
| 3 | |
---|
| 4 | #include "world_entity.h" |
---|
| 5 | |
---|
| 6 | class TiXmlElement; |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | class MountPoint : public WorldEntity |
---|
| 10 | { |
---|
| 11 | ObjectListDeclaration(MountPoint); |
---|
| 12 | |
---|
| 13 | public: |
---|
| 14 | MountPoint (); |
---|
| 15 | MountPoint(const TiXmlElement* root); |
---|
| 16 | virtual ~MountPoint (); |
---|
| 17 | |
---|
| 18 | void init(); |
---|
| 19 | virtual void loadParams(const TiXmlElement* root); |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | virtual void tick (float time); |
---|
| 23 | virtual void draw() const; |
---|
| 24 | |
---|
| 25 | void debugDraw() const; |
---|
| 26 | |
---|
[10057] | 27 | |
---|
| 28 | void mount(WorldEntity* entity); |
---|
| 29 | void unmount(); |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | private: |
---|
[10058] | 33 | WorldEntity* _mount; //!< the entity mounted at this mount point |
---|
[10057] | 34 | |
---|
[10050] | 35 | }; |
---|
| 36 | |
---|
| 37 | #endif /* _MOUNT_POINT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.