Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2015, 12:07:22 PM (8 years ago)
Author:
gania
Message:

Fixed some bugs, only DivisionController works for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/controllers/LeaderController.cc

    r10843 r10854  
    5151    {
    5252    }
     53    void LeaderController::takeActionpoints (std::vector<Point > vector)
     54    {
     55      this->parsedActionpoints_ = vector;
     56      this->setAction (Action::NONE);
     57      this->setTarget(0);
     58      this->setTargetPosition (this->getControllableEntity()->getWorldPosition());
     59      orxout(internal_error) << "Top action is " << this->parsedActionpoints_.back().action << endl;
     60    }
    5361
    5462
Note: See TracChangeset for help on using the changeset viewer.