Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/QuestGuide_HS16/src/modules/waypoints/Waypointarrow.h @ 11287

Last change on this file since 11287 was 11287, checked in by ooguz, 7 years ago

Bugs fixed

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