Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2016, 4:04:45 PM (8 years ago)
Author:
ooguz
Message:

Distance Trigger base methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/QuestGuide_HS16/src/modules/waypoints/Waypoint.cc

    r11287 r11309  
    2626        distancetrigger = new DistanceTrigger(this->getContext());   
    2727        distancetrigger->setDistance(100);
     28        distanceTrigger_->addTarget("Pawn");
     29         this->addEventSource(distanceTrigger_, "explode");
     30
    2831        this->attach(distancetrigger);
    2932    }
Note: See TracChangeset for help on using the changeset viewer.