Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 13, 2008, 9:55:01 PM (15 years ago)
Author:
dafrick
Message:

Changed from ControllableEntity to PlayerInfo…

File:
1 edited

Legend:

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

    r2191 r2205  
    4141#include "util/Exception.h"
    4242
    43 #include "orxonox/objects/worldentities/ControllableEntity.h"
     43#include "orxonox/objects/infos/PlayerInfo.h"
    4444#include "QuestManager.h"
    4545#include "Quest.h"
     
    8484        Returns true if the QuestEffect was successfully invoked.
    8585    */
    86     bool AddQuest::invoke(ControllableEntity* player)
     86    bool AddQuest::invoke(PlayerInfo* player)
    8787    {
    8888        if(player == NULL) //!< Null-pointers are badass.
     
    106106        }
    107107
     108        COUT(3) << "Quest {" << this->getQuestId() << "} successfully added to player." << std::endl;
    108109        return true;
    109110    }
Note: See TracChangeset for help on using the changeset viewer.