Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2009, 9:24:58 PM (15 years ago)
Author:
landauf
Message:

changed type of gametype-HUD and default-HUD to PlayerInfo (instead of Gametype and ControllableEntity respectively). The owner of the Pawn-HUD remains Pawn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/infos/PlayerInfo.h

    r2826 r2973  
    7777                { return this->controller_; }
    7878
     79            inline const GametypeInfo* getGametypeInfo() const
     80                { return this->gtinfo_; }
     81
    7982        protected:
    8083            void createController();
     
    8891        private:
    8992            void networkcallback_changedcontrollableentityID();
     93            void networkcallback_changedgtinfoID();
     94            void updateGametypeInfo();
    9095
    9196            bool bReadyToSpawn_;
     
    9398            ControllableEntity* controllableEntity_;
    9499            unsigned int controllableEntityID_;
     100
     101            const GametypeInfo* gtinfo_;
     102            unsigned int gtinfoID_;
    95103    };
    96104}
Note: See TracChangeset for help on using the changeset viewer.