Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 20, 2011, 11:27:45 PM (13 years ago)
Author:
dafrick
Message:

Some cleanup…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/portals/PortalLink.h

    r8706 r8767  
    3737
    3838#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"
    4339
    4440#include <map>
     41
     42#include "PortalEndPoint.h"
     43
     44#include "core/BaseObject.h"
    4545
    4646namespace orxonox
     
    5757            virtual ~PortalLink();
    5858            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     59
    5960            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; }
    6362            inline unsigned int getFromID(unsigned int) const
    64             {
    65                 return this->fromID_;
    66             }
     63                { return this->fromID_; }
    6764            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; }
    7166            inline unsigned int getToID(unsigned int) const
    72             {
    73                 return this->toID_;
    74             }
     67                { return this->toID_; }
    7568            /*! \brief Let an entity enter a certain PortalEndPoint
    7669                \param entity pointer to the entity which is entering a PortalEndPoint
Note: See TracChangeset for help on using the changeset viewer.