Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 7:12:28 PM (16 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/RadarObject.cc

    r1454 r1456  
    4343        node_ = node;
    4444        colour_ = colour;
    45         next = NULL;
    4645        om = &OverlayManager::getSingleton();
    4746        panel_ = static_cast<PanelOverlayElement*>(om->createOverlayElement("Panel",
     
    5756
    5857    RadarObject::~RadarObject(){
    59         // todo: clean up stuff
     58        delete panel_;
    6059    }
    6160
     
    7877        return node_->getPosition();
    7978    }
     79
     80    SceneNode* RadarObject::getNode(){
     81        return node_;
     82    }
    8083}
    8184
Note: See TracChangeset for help on using the changeset viewer.