Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2008, 12:02:05 AM (16 years ago)
Author:
dafrick
Message:

Started implementation of QuestEffectBeacon.
Done some documentation of QuestItem and subclasses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem2/src/orxonox/objects/quest/AddQuestHint.cc

    r2105 r2146  
    3333#include "util/Exception.h"
    3434
     35#include "orxonox/objects/worldentities/ControllableEntity.h"
    3536#include "QuestManager.h"
    3637#include "QuestItem.h"
     
    8081        Returns true if the effect was successfully invoked.
    8182    */
    82     bool AddQuestHint::invoke(Player* player)
     83    bool AddQuestHint::invoke(ControllableEntity* player)
    8384    {
    8485        if(player == NULL)
     
    9192        {
    9293            QuestHint* hint = QuestManager::findHint(this->hintId_);
    93             if(!hint->activate(player))
     94            if(!hint->setActive(player))
    9495            {
    9596                return false;
Note: See TracChangeset for help on using the changeset viewer.