Changeset 8767 for code/trunk/src/modules/portals/PortalLink.h
- Timestamp:
- Jul 20, 2011, 11:27:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/portals/PortalLink.h
r8706 r8767 37 37 38 38 #include "portals/PortalsPrereqs.h" 39 #include "tools/interfaces/Tickable.h"40 #include "core/BaseObject.h"41 #include "PortalEndPoint.h"42 #include "objects/eventsystem/EventListener.h"43 39 44 40 #include <map> 41 42 #include "PortalEndPoint.h" 43 44 #include "core/BaseObject.h" 45 45 46 46 namespace orxonox … … 57 57 virtual ~PortalLink(); 58 58 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 59 59 60 inline void setFromID(unsigned int from) //!< set the ID of the PortalEndPoint which should act as the entrance of this link 60 { 61 this->fromID_ = from; 62 } 61 { this->fromID_ = from; } 63 62 inline unsigned int getFromID(unsigned int) const 64 { 65 return this->fromID_; 66 } 63 { return this->fromID_; } 67 64 inline void setToID(unsigned int to) //!< set the ID of the PortalEndPoint which should act as the exit of this link 68 { 69 this->toID_ = to; 70 } 65 { this->toID_ = to; } 71 66 inline unsigned int getToID(unsigned int) const 72 { 73 return this->toID_; 74 } 67 { return this->toID_; } 75 68 /*! \brief Let an entity enter a certain PortalEndPoint 76 69 \param entity pointer to the entity which is entering a PortalEndPoint
Note: See TracChangeset
for help on using the changeset viewer.