Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Waypoints_HS17/src/modules/overlays/hud/HUDWaypoints.cc @ 11703

Last change on this file since 11703 was 11523, checked in by jostoffe, 7 years ago

EmptyLevel funktioniert nicht wegen AutonomousDroneController, HUD geaendert aber brauch ich nicht mehr. Mit movableentity weitermachen

File size: 978 bytes
Line 
1
2
3
4
5#include <vector>
6#include <string>
7
8#include "HUDWaypoints.h"
9#include "core/CoreIncludes.h"
10#include "core/XMLPort.h"
11#include "util/Convert.h"
12#include "core/class/Super.h"
13#include "pickup/Pickup.h"
14#include "HUDPickupItem.h"
15#include "pickup/PickupManager.h"
16
17namespace orxonox
18{
19        RegisterClass(HUDWaypoints);
20
21                HUDWaypoints::HUDWaypoints(Context* context) : OrxonoxOverlay(context)
22    {
23        RegisterObject(HUDWaypoints);
24
25        overlayElement_ = static_cast<Ogre::PanelOverlayElement* >(Ogre::OverlayManager::getSingleton().createOverlayElement("Panel", "HUDWaypoints" + getUniqueNumberString()));
26        overlayElement_->setMaterialName("PickupBar");
27        overlayElement_->setPosition(0.0f,0.0f);
28        overlayElement_->setDimensions(0.35f,0.075f);
29        this->background_->addChild(overlayElement_);
30    }
31
32
33    HUDWaypoints::~HUDWaypoints()
34    {
35       /* if (this->isInitialized())
36        {
37            this->picks.clear();
38        }*/
39    }
40
41
42}
Note: See TracBrowser for help on using the repository browser.