Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2008, 11:00:46 AM (17 years ago)
Author:
dafrick
Message:

Ready for merge! (It won't compile after the merge, though ;) )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem/src/orxonox/objects/ChangeQuestStatus.cc

    r2076 r2081  
    2929#include "core/CoreIncludes.h"
    3030
     31#include "QuestItem.h"
    3132#include "ChangeQuestStatus.h"
    3233
     
    4647    }
    4748   
     49    void ChangeQuestStatus::setQuestId(const std::string & id)
     50    {
     51        if(!QuestItem::isId(id))
     52        {
     53            COUT(2) << "Invalid id. QuestItem id {" << id << "} could not be set." << std::endl;
     54            return;
     55        }
     56        this->questId_ = id;
     57    }
     58   
    4859    void ChangeQuestStatus::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    4960    {
Note: See TracChangeset for help on using the changeset viewer.