Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2011, 1:51:18 PM (14 years ago)
Author:
FelixSchulthess
Message:

merged portals branch into trunk

Location:
code/trunk
Files:
1 edited
8 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/modules/portals/PortalEndPoint.cc

    r8455 r8457  
    3333        XMLPortParam(PortalEndPoint, "design", setTemplate, getTemplate, xmlelement, mode);
    3434        XMLPortParamExtern(PortalEndPoint, DistanceMultiTrigger, this->trigger_, "distance", setDistance, getDistance, xmlelement, mode);
    35         XMLPortParamLoadOnly(PortalEndPoint, "target", setTargets, xmlelement, mode).defaultValues("Pawn");
     35        XMLPortParamLoadOnly(PortalEndPoint, "target", setTarget, xmlelement, mode).defaultValues("Pawn");
    3636       
    3737        // Add the DistanceMultiTrigger as event source.
  • code/trunk/src/modules/portals/PortalEndPoint.h

    r8455 r8457  
    2121            virtual ~PortalEndPoint();
    2222            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    23             inline void setTargets(const std::string & targets)                 //!< add types which are allowed to activate the PortalEndPoint
     23            inline void setTarget(const std::string & target)                 //!< add types which are allowed to activate the PortalEndPoint
    2424            {
    25                 this->trigger_->addTargets(targets);
     25                this->trigger_->addTarget(target);
    2626            }
    2727           
Note: See TracChangeset for help on using the changeset viewer.