Rev | Line | |
---|
[11274] | 1 | |
---|
| 2 | |
---|
| 3 | #ifndef _Waypoint_H__ |
---|
| 4 | #define _Waypoint_H__ |
---|
| 5 | |
---|
| 6 | #include "OrxonoxPrereqs.h" |
---|
| 7 | #include "StaticEntity.h" |
---|
| 8 | #include "graphics/Model.h" |
---|
| 9 | |
---|
| 10 | #include <map> |
---|
| 11 | #include <string> |
---|
| 12 | |
---|
| 13 | #include "util/OgreForwardRefs.h" |
---|
| 14 | #include "tools/interfaces/Tickable.h" |
---|
| 15 | #include "interfaces/RadarListener.h" |
---|
| 16 | #include "WaypointGroup.h" |
---|
| 17 | |
---|
| 18 | namespace orxonox |
---|
| 19 | { |
---|
| 20 | /** |
---|
| 21 | @brief |
---|
| 22 | The StaticEntity is the simplest derivative of the @ref orxonox::WorldEntity class. This means all StaticEntity instances also have |
---|
| 23 | a position in space, a mass, a scale, a frication, ... because every StaticEntity is a WorldEntity. You can attach StaticEntities to eachother ike @ref orxonox::WorldEntity WorldEntities. |
---|
| 24 | |
---|
| 25 | In contrast to the MobileEntity the StaticEntity cannot move with respect to the parent to which it is attached. That's why |
---|
| 26 | it is called StaticEntity. It will keep the same position (always with respect to its parent) forever unless you call the |
---|
| 27 | function @see setPosition to changee it. |
---|
| 28 | |
---|
| 29 | A StaticEntity can only have the collisition type WorldEntity::None or WorldEntity::Static. The collsion types WorldEntity::Dynamic and WorldEntity::Kinematic are illegal. |
---|
| 30 | */ |
---|
| 31 | |
---|
| 32 | class _OrxonoxExport Waypointarrow : public StaticEntity { |
---|
| 33 | |
---|
| 34 | public: |
---|
| 35 | |
---|
| 36 | Waypointarrow(Context* context); |
---|
| 37 | virtual ~Waypointarrow(); |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | private: |
---|
| 46 | |
---|
| 47 | //virtual bool isCollisionTypeLegal(CollisionType type) const override; |
---|
| 48 | Model* model; |
---|
| 49 | //Waypoint* waypoint; |
---|
| 50 | // network callbacks |
---|
| 51 | }; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | #endif /* _Waypoint_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.