Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2008, 11:00:46 AM (16 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/QuestItem.cc

    r2076 r2081  
    7171    }
    7272   
     73    void QuestItem::setId(const std::string & id)
     74    {
     75        if(!isId(id))
     76        {
     77            COUT(2) << "Invalid id. QuestItem id {" << id << "} could not be set." << std::endl;
     78            return;
     79        }
     80        this->id_ = id;
     81    }
     82   
    7383    //const QuestDescription* QuestItem::getDescription(unsigned int index) const //!< Returns the description of the QuestItem.
    7484    //{
Note: See TracChangeset for help on using the changeset viewer.