- Timestamp:
- Aug 14, 2009, 3:07:59 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries/src/orxonox/objects/quest/AddQuest.h
r3196 r5648 35 35 #define _AddQuest_H__ 36 36 37 #include " OrxonoxPrereqs.h"37 #include "objects/quest/QuestPrereqs.h" 38 38 #include "ChangeQuestStatus.h" 39 39 … … 43 43 @brief 44 44 Adds a Quest, resp. changes the quests status to active for the player invoking the Quest. 45 45 46 46 Creating a AddQuest through XML goes as follows: 47 47 48 48 <AddQuest questId="id" /> //Where id is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information, and identifies the Quest that should be added. 49 49 @author 50 50 Damian 'Mozork' Frick 51 51 */ 52 class _ OrxonoxExport AddQuest : public ChangeQuestStatus52 class _QuestExport AddQuest : public ChangeQuestStatus 53 53 { 54 54 public: 55 55 AddQuest(BaseObject* creator); 56 56 virtual ~AddQuest(); 57 57 58 58 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a AddQuest object through XML. 59 59 60 60 virtual bool invoke(PlayerInfo* player); //!< Invokes the QuestEffect. 61 61
Note: See TracChangeset
for help on using the changeset viewer.