Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2008, 12:56:29 AM (16 years ago)
Author:
landauf
Message:
  • fixed another bug in Trigger
  • added EventTrigger which listens on "trigger" events
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/triggers/DistanceTrigger.cc

    r2069 r2071  
    3030#include "DistanceTrigger.h"
    3131
     32#include <OgreNode.h>
     33
    3234#include "core/CoreIncludes.h"
    3335#include "core/XMLPort.h"
    3436
    35 namespace orxonox {
    36 
     37namespace orxonox
     38{
    3739  CreateFactory(DistanceTrigger);
    3840
     
    8284    Identifier* targetId = ClassByString(targets);
    8385    if (!targetId)
     86    {
     87        COUT(1) << "Error: \"" << targets << "\" is not a valid class name to include in ClassTreeMask (in " << this->getName() << ", class " << this->getIdentifier()->getName() << ")" << std::endl;
    8488        return;
     89    }
    8590
    8691    this->targetMask_.include(targetId);
Note: See TracChangeset for help on using the changeset viewer.