Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2008, 12:55:03 AM (15 years ago)
Author:
rgrieder
Message:

Merged overlay branch into presentation branch.

Location:
code/branches/presentation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation

  • code/branches/presentation/src/orxonox/objects/gametypes/Gametype.h

    r2485 r2492  
    5656    {
    5757        friend class PlayerInfo;
     58        friend class ClassIdentifier<Gametype>;
    5859
    5960        public:
     
    101102            void killBots(unsigned int amount = 0);
    102103
     104            inline unsigned int getNumberOfPlayers() const
     105                { return this->players_.size(); }
     106
     107            inline std::string getPlayersName() const
     108                { return "StatsBot77"; }
     109
     110            inline unsigned int getPlayersFrags() const
     111                { return 123; }
     112
    103113        private:
    104114            virtual SpawnPoint* getBestSpawnPoint(PlayerInfo* player) const;
     
    124134            std::set<SpawnPoint*> spawnpoints_;
    125135            SubclassIdentifier<ControllableEntity> defaultControllableEntity_;
     136
     137            XMLFile* statsOverlay_;
     138
     139            // Config Values
     140            std::string statsOverlayName_;
    126141    };
    127142}
Note: See TracChangeset for help on using the changeset viewer.