#include "HUDDialogue.h" #include "core/XMLPort.h" #include #include #include #include #include namespace orxonox { RegisterClass (HUDDialogue); HUDDialogue::HUDDialogue(Context* context) : OrxonoxOverlay(context) { RegisterObject(HUDDialogue); overlayElementIcon_ = static_cast(Ogre::OverlayManager::getSingleton().createOverlayElement("Panel", "Dialogue" + getUniqueNumberString())); overlayElementIcon_->setPosition(0.0f,0.0f); overlayElementIcon_->setDimensions(1.0f,1.0f); this->background_->addChild(overlayElementIcon_); overlayElementIcon_->setMaterialName("Orxonox/DialogueHUD_Person"); } void HUDDialogue::tick(float dt) { SUPER(HUDDialogue, tick, dt); } HUDDialogue::~HUDDialogue() { } void HUDDialogue::XMLPort(Element& xmlelement, XMLPort::Mode mode) { SUPER(HUDDialogue, XMLPort, xmlelement, mode); } }