Changeset 5693 for code/trunk/src/orxonox/objects/quest/LocalQuest.h
- Timestamp:
- Aug 29, 2009, 10:19:38 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/libraries (added) merged: 5612-5613,5615-5619,5621-5623,5625-5640,5642-5643,5647-5649,5665-5666,5685-5687,5692
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/quest/LocalQuest.h
r3280 r5693 26 26 * 27 27 */ 28 28 29 29 /** 30 30 @file … … 35 35 #define _LocalQuest_H__ 36 36 37 #include " OrxonoxPrereqs.h"37 #include "objects/quest/QuestPrereqs.h" 38 38 39 39 #include <map> … … 46 46 Handles Quests which have different states for different players. 47 47 LocalQuests have (as opposed to GlobalQuests) a different state for each player, that means if for one player the status of the Quest changes it does not for all the other players which also possess this quest. 48 48 49 49 Creating a LocalQuest through XML goes as follows: 50 50 51 51 <LocalQuest id="questId"> //Where questId is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information 52 52 <QuestDescription title="Title" description="Description." /> //The description of the quest. … … 75 75 Damian 'Mozork' Frick 76 76 */ 77 class _ OrxonoxExport LocalQuest : public Quest77 class _QuestExport LocalQuest : public Quest 78 78 { 79 79 public: … … 82 82 83 83 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a LocalQuest object through XML. 84 84 85 85 virtual bool fail(PlayerInfo* player); //!< Fails the Quest. 86 86 virtual bool complete(PlayerInfo* player); //!< Completes the Quest.
Note: See TracChangeset
for help on using the changeset viewer.