Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_HS17_merge/src/modules/overlays/hud/HUDWaypoints.cc @ 11775

Last change on this file since 11775 was 11775, checked in by landauf, 6 years ago

[Waypoints_HS17] fixed build

File size: 952 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 "pickup/PickupManager.h"
15
16namespace orxonox
17{
18        RegisterClass(HUDWaypoints);
19
20                HUDWaypoints::HUDWaypoints(Context* context) : OrxonoxOverlay(context)
21    {
22        RegisterObject(HUDWaypoints);
23
24        overlayElement_ = static_cast<Ogre::PanelOverlayElement* >(Ogre::OverlayManager::getSingleton().createOverlayElement("Panel", "HUDWaypoints" + getUniqueNumberString()));
25        overlayElement_->setMaterialName("PickupBar");
26        overlayElement_->setPosition(0.0f,0.0f);
27        overlayElement_->setDimensions(0.35f,0.075f);
28        this->background_->addChild(overlayElement_);
29    }
30
31
32    HUDWaypoints::~HUDWaypoints()
33    {
34       /* if (this->isInitialized())
35        {
36            this->picks.clear();
37        }*/
38    }
39
40
41}
Note: See TracBrowser for help on using the repository browser.