- Timestamp:
- May 29, 2011, 7:15:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/interfaces/InterfaceCompilation.cc
r8667 r8668 42 42 #include "core/CoreIncludes.h" 43 43 44 #include "infos/PlayerInfo.h" 45 #include "worldentities/pawns/Pawn.h" 46 44 47 namespace orxonox 45 48 { … … 60 63 61 64 this->isForPlayer_ = false; 65 } 66 67 void PlayerTrigger::setTriggeringPawn(Pawn* pawn) 68 { 69 assert(pawn); 70 this->pawn_ = WeakPtr<Pawn>(pawn); 71 if (pawn) 72 this->player_ = WeakPtr<PlayerInfo>(pawn->getPlayer()); 62 73 } 63 74
Note: See TracChangeset
for help on using the changeset viewer.