Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 5:22:33 PM (16 years ago)
Author:
FelixSchulthess
Message:

made HUD singleton

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/HUD.h

    r1374 r1387  
    4646    {
    4747        private:
     48            HUD();
     49            HUD(HUD& instance);
     50            ~HUD();
    4851            Ogre::OverlayManager* om;
    4952            Ogre::Overlay* orxonoxHUD;
     
    5659
    5760        public:
    58             HUD(int zoom);
    59             ~HUD();
    60             void setFPS(float fps);
    6161            virtual void tick(float);
    6262
     63            static HUD* instance_s;
     64            static HUD& getSingleton();
     65            static void setFPS(float fps);
     66            static void cycleRadarFocus();
    6367    };
    6468}
Note: See TracChangeset for help on using the changeset viewer.