- Timestamp:
- Apr 27, 2009, 5:15:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gametypes/src/orxonox/objects/worldentities/triggers/CheckPoint.h
r2905 r2936 36 36 #define _CheckPoint_H__ 37 37 38 #include " OrxonoxPrereqs.h"38 #include "DistanceTrigger.h" 39 39 40 #include "Trigger.h" 40 #include <set> 41 42 #include "core/ClassTreeMask.h" 43 #include "core/BaseObject.h" 44 45 #include "orxonox/objects/worldentities/ControllableEntity.h" 41 46 42 47 namespace orxonox 43 48 { 44 49 class _OrxonoxExport CheckPoint : public DistanceTrigger 45 50 { 46 51 public: 47 48 52 CheckPoint(BaseObject* creator); 53 virtual ~CheckPoint(); 49 54 50 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a CheckPoint object through XML. 51 56 52 53 57 private: 54 virtual void triggered(bool bIsTriggered); 55 56 bool bIsDestination_; 57 }; 58 58 virtual void triggered(bool bIsTriggered); 59 virtual void setDestination(bool isDestination); 60 virtual bool getDestination(); 61 62 bool bIsDestination_; 63 }; 59 64 } 60 65
Note: See TracChangeset
for help on using the changeset viewer.