Changeset 9629 for code/branches/core6/src/orxonox/infos
- Timestamp:
- Aug 9, 2013, 9:26:46 PM (11 years ago)
- Location:
- code/branches/core6/src/orxonox/infos
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/orxonox/infos/Bot.cc
r9558 r9629 40 40 CreateFactory(Bot); 41 41 42 Bot::Bot( BaseObject* creator) : PlayerInfo(creator)42 Bot::Bot(Context* context) : PlayerInfo(context) 43 43 { 44 44 RegisterObject(Bot); -
code/branches/core6/src/orxonox/infos/Bot.h
r5781 r9629 40 40 { 41 41 public: 42 Bot( BaseObject* creator);42 Bot(Context* context); 43 43 virtual ~Bot(); 44 44 -
code/branches/core6/src/orxonox/infos/GametypeInfo.cc
r9348 r9629 65 65 Registers and initializes the object. 66 66 */ 67 GametypeInfo::GametypeInfo( BaseObject* creator) : Info(creator)67 GametypeInfo::GametypeInfo(Context* context) : Info(context) 68 68 { 69 69 RegisterObject(GametypeInfo); -
code/branches/core6/src/orxonox/infos/GametypeInfo.h
r9348 r9629 58 58 59 59 public: 60 GametypeInfo( BaseObject* creator);60 GametypeInfo(Context* context); 61 61 virtual ~GametypeInfo(); 62 62 -
code/branches/core6/src/orxonox/infos/HumanPlayer.cc
r9558 r9629 43 43 CreateUnloadableFactory(HumanPlayer); 44 44 45 HumanPlayer::HumanPlayer( BaseObject* creator) : PlayerInfo(creator)45 HumanPlayer::HumanPlayer(Context* context) : PlayerInfo(context) 46 46 { 47 47 RegisterObject(HumanPlayer); … … 183 183 if (this->isLocalPlayer() && !this->humanHudTemplate_.empty() && GameMode::showsGraphics()) 184 184 { 185 this->humanHud_ = new OverlayGroup(this );185 this->humanHud_ = new OverlayGroup(this->getContext()); 186 186 this->humanHud_->addTemplate(this->humanHudTemplate_); 187 187 this->humanHud_->setOwner(this); … … 199 199 if (this->isLocalPlayer() && !this->gametypeHudTemplate_.empty()) 200 200 { 201 this->gametypeHud_ = new OverlayGroup(this );201 this->gametypeHud_ = new OverlayGroup(this->getContext()); 202 202 this->gametypeHud_->addTemplate(this->gametypeHudTemplate_); 203 203 this->gametypeHud_->setOwner(this); -
code/branches/core6/src/orxonox/infos/HumanPlayer.h
r7163 r9629 40 40 { 41 41 public: 42 HumanPlayer( BaseObject* creator);42 HumanPlayer(Context* context); 43 43 virtual ~HumanPlayer(); 44 44 -
code/branches/core6/src/orxonox/infos/Info.cc
r5781 r9629 32 32 namespace orxonox 33 33 { 34 Info::Info( BaseObject* creator) : BaseObject(creator), Synchronisable(creator)34 Info::Info(Context* context) : BaseObject(context), Synchronisable(context) 35 35 { 36 36 RegisterObject(Info); -
code/branches/core6/src/orxonox/infos/Info.h
r5781 r9629 40 40 { 41 41 public: 42 Info( BaseObject* creator);42 Info(Context* context); 43 43 virtual ~Info() {} 44 44 }; -
code/branches/core6/src/orxonox/infos/PlayerInfo.cc
r9348 r9629 40 40 namespace orxonox 41 41 { 42 PlayerInfo::PlayerInfo( BaseObject* creator) : Info(creator)42 PlayerInfo::PlayerInfo(Context* context) : Info(context) 43 43 { 44 44 RegisterObject(PlayerInfo); … … 136 136 this->controller_ = 0; 137 137 } 138 this->controller_ = this->defaultController_.fabricate(this );138 this->controller_ = this->defaultController_.fabricate(this->getContext()); 139 139 assert(this->controller_); 140 140 this->controller_->setPlayer(this); -
code/branches/core6/src/orxonox/infos/PlayerInfo.h
r9563 r9629 41 41 { // tolua_export 42 42 public: 43 PlayerInfo( BaseObject* creator);43 PlayerInfo(Context* context); 44 44 virtual ~PlayerInfo(); 45 45
Note: See TracChangeset
for help on using the changeset viewer.