Changeset 7601 for code/trunk/src/orxonox/interfaces
- Timestamp:
- Oct 30, 2010, 1:54:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/PlayerTrigger.h
r5936 r7601 28 28 29 29 /** 30 @file 31 @brief 32 Definition of the PlayerTrigger class.30 @file PlayerTrigger.h 31 @brief Definition of the PlayerTrigger class. 32 @ingroup Triggers 33 33 */ 34 34 … … 37 37 38 38 #include "OrxonoxPrereqs.h" 39 39 40 #include "core/OrxonoxClass.h" 40 41 … … 43 44 /** 44 45 @brief 45 A PlayerTrigger is a trigger which is normally triggered by Pawns and can as such return a pointer to the Pawn which triggered it. 46 PlayerTrigger is an interface if implemented by a specific trigger can be used to recover the Player (or more precisely the @ref orxonox::Pawn "Pawn") that triggered it. 47 46 48 @author 47 49 Damian 'Mozork' Frick 50 51 @ingroup Triggers 48 52 */ 49 53 class _OrxonoxExport PlayerTrigger : virtual public OrxonoxClass … … 75 79 { this->player_ = player; } 76 80 77 78 79 80 81 /** 82 @brief Set whether the PlayerTrigger normally is triggered by Pawns. 83 @param isForPlayer Should be true when the PlayerTrigger should be set to normally be triggered by Pawns, false if not. 84 */ 81 85 inline void setForPlayer(bool isForPlayer) 82 86 { this->isForPlayer_ = isForPlayer; }
Note: See TracChangeset
for help on using the changeset viewer.