Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2008, 1:09:07 AM (16 years ago)
Author:
rgrieder
Message:
  • adjusted Radar to fit in XML loading scheme
  • OverlayGroup should be more or less what I imagine for now (only supports scale method to scale the entire HUD)
  • singletonized HUDNavigation (and HUDRadar of course): These are temporary hacks!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/objects/SpaceShip.cc

    r1601 r1604  
    4949#include "core/ConsoleCommand.h"
    5050#include "network/Client.h"
    51 #include "overlays/OverlayGroup.h"
     51#include "overlays/hud/HUDRadar.h"
    5252
    5353namespace orxonox
     
    152152
    153153            if (!this->myShip_)
    154                 OverlayGroup::getHUD().removeRadarObject(this);
     154                HUDRadar::getInstance().removeRadarObject(this);
    155155        }
    156156    }
     
    161161          myShip_=true;
    162162        else
    163           OverlayGroup::getHUD().addRadarObject(this, this->getProjectileColour());
     163          HUDRadar::getInstance().addRadarObject(this, this->getProjectileColour());
    164164      }
    165165      if(Model::create())
Note: See TracChangeset for help on using the changeset viewer.