Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2011, 6:08:06 PM (13 years ago)
Author:
dafrick
Message:

Adding some useful debug output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spacerace/src/modules/objects/triggers/Trigger.cc

    r7601 r8572  
    118118    {
    119119      this->remainingTime_ -= dt;
    120       // only increase when acctually waiting for a state in the queue
     120      // only increase when actually waiting for a state in the queue
    121121      if (this->timeSinceLastEvent_ >= 0.0)
    122122        this->timeSinceLastEvent_ += dt;
     
    129129      this->bTriggered_ = (newState & 0x1);
    130130      this->bActive_ = newState & 2;
     131      COUT(4) << this->getIdentifier()->getName() << " '" << this->getName() << "' (&" << this << ") changed state. active: " << this->bActive_ << ", triggered: " << this->bTriggered_ << "." << std::endl;
    131132      this->triggered(this->bActive_);
    132133      this->stateChanges_.pop();
Note: See TracChangeset for help on using the changeset viewer.