Changeset 2261 for code/trunk/src/orxonox/objects/quest/AddQuest.h
- Timestamp:
- Nov 25, 2008, 11:56:40 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/questsystem2 (added) merged: 2109,2146,2159,2191,2193-2196,2205-2206,2208-2209,2221,2226,2228,2251,2258
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/quest/AddQuest.h
- Property svn:mergeinfo changed
/code/branches/questsystem2/src/orxonox/objects/quest/AddQuest.h (added) merged: 2146,2159,2191,2205,2221,2251 /code/trunk/src/orxonox/objects/quest/AddQuest.h merged: 1925-2089
r2096 r2261 27 27 */ 28 28 29 /** 30 @file AddQuest.h 31 @brief 32 Definition of the AddQuest class. 33 */ 34 29 35 #ifndef _AddQuest_H__ 30 36 #define _AddQuest_H__ … … 39 45 namespace orxonox { 40 46 41 class Player; //Forward declaration, remove when fully integrated into the objecthirarchy.42 43 47 /** 44 48 @brief 45 Adds a quest, resp. changes the quests status to active. 49 Adds a Quest, resp. changes the quests status to active for the player invoking the Quest. 50 51 Creating a AddQuest through XML goes as follows: 52 53 <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. 46 54 @author 47 55 Damian 'Mozork' Frick … … 53 61 virtual ~AddQuest(); 54 62 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 63 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a AddQuest object through XML. 56 64 57 virtual bool invoke(Player * player); //!< Invokes the effect.65 virtual bool invoke(PlayerInfo* player); //!< Invokes the QuestEffect. 58 66 59 67 }; - Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.