Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 9, 2013, 9:26:46 PM (12 years ago)
Author:
landauf
Message:

BaseObject now requires a Context instead of a creator (BaseObject*) in its constructor.
Namespace, Level, and Scene inherit from Context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/orxonox/infos/PlayerInfo.cc

    r9348 r9629  
    4040namespace orxonox
    4141{
    42     PlayerInfo::PlayerInfo(BaseObject* creator) : Info(creator)
     42    PlayerInfo::PlayerInfo(Context* context) : Info(context)
    4343    {
    4444        RegisterObject(PlayerInfo);
     
    136136            this->controller_ = 0;
    137137        }
    138         this->controller_ = this->defaultController_.fabricate(this);
     138        this->controller_ = this->defaultController_.fabricate(this->getContext());
    139139        assert(this->controller_);
    140140        this->controller_->setPlayer(this);
Note: See TracChangeset for help on using the changeset viewer.