Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 7:12:28 PM (17 years ago)
Author:
FelixSchulthess
Message:

using a std::set for the radar objects, which still has a the small problem, that the first radar object is selected twice when cycling through radar objects

File:
1 edited

Legend:

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

    r1454 r1456  
    5656        BarOverlayElement* speedoBar;
    5757        RadarOverlayElement* radar;
    58         RadarObject* firstRadarObject;
    59         RadarObject* lastRadarObject;
    6058        Navigation* nav;
    6159
     
    6664        virtual void tick(float);
    6765        void addRadarObject(Ogre::SceneNode* node, int colour = 0);
    68         RadarObject* getFirstRadarObject();
     66        void removeRadarObject(Ogre::SceneNode* node);
    6967        void setRenderTimeRatio(float ratio);
    7068        void setFPS();
     69
     70        std::set<RadarObject*> roSet;
    7171
    7272        static HUD* instance_s;
Note: See TracChangeset for help on using the changeset viewer.