Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2012, 2:51:44 PM (12 years ago)
Author:
mentzerf
Message:
  • Fixed size of oxw stuff.

+ Added tileScale to TowerDefenseCenterpoint to store the scale of the oxw

  • Removed WaypointController debug prints
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/src/orxonox/controllers/WaypointController.cc

    r9144 r9154  
    6565            return;
    6666
    67                 orxout() << "(" << this->waypoints_.size() << ") entity: " << this->getControllableEntity() << endl;
     67//              orxout() << "(" << this->waypoints_.size() << ") entity: " << this->getControllableEntity() << endl;
    6868
    6969        if (this->waypoints_.size() == 0 || !this->getControllableEntity())
    7070            return;
    7171
    72                 printf("3");
     72//              printf("3");
    7373
    7474        if (this->waypoints_[this->currentWaypoint_]->getWorldPosition().squaredDistance(this->getControllableEntity()->getPosition()) <= this->squaredaccuracy_)
    7575            this->currentWaypoint_ = (this->currentWaypoint_ + 1) % this->waypoints_.size();
    7676
    77                 printf("4");
     77//              printf("4");
    7878
    7979        this->moveToPosition(this->waypoints_[this->currentWaypoint_]->getWorldPosition());
Note: See TracChangeset for help on using the changeset viewer.