- Timestamp:
- Nov 13, 2008, 9:55:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/Quest.cc
r2191 r2205 38 38 #include "core/CoreIncludes.h" 39 39 40 #include "orxonox/objects/ worldentities/ControllableEntity.h"40 #include "orxonox/objects/infos/PlayerInfo.h" 41 41 #include "QuestManager.h" 42 42 #include "QuestDescription.h" … … 313 313 Throws an exception if getStatus throws one. 314 314 */ 315 bool Quest::isInactive(const ControllableEntity* player) const315 bool Quest::isInactive(const PlayerInfo* player) const 316 316 { 317 317 return this->getStatus(player) == questStatus::inactive; … … 328 328 Throws an exception if getStatus throws one. 329 329 */ 330 bool Quest::isActive(const ControllableEntity* player) const330 bool Quest::isActive(const PlayerInfo* player) const 331 331 { 332 332 … … 344 344 Throws an exception if getStatus throws one. 345 345 */ 346 bool Quest::isFailed(const ControllableEntity* player) const346 bool Quest::isFailed(const PlayerInfo* player) const 347 347 { 348 348 return this->getStatus(player) == questStatus::failed; … … 359 359 Throws an exception if getStatus throws one. 360 360 */ 361 bool Quest::isCompleted(const ControllableEntity* player) const361 bool Quest::isCompleted(const PlayerInfo* player) const 362 362 { 363 363 return this->getStatus(player) == questStatus::completed; … … 372 372 Returns true if the Quest could be started, false if not. 373 373 */ 374 bool Quest::start( ControllableEntity* player)374 bool Quest::start(PlayerInfo* player) 375 375 { 376 376 if(this->isStartable(player)) //!< Checks whether the quest can be started.
Note: See TracChangeset
for help on using the changeset viewer.