mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 09:59:20 +01:00
Add Text rendering and Hull / Fuel Meters
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "Gui/GuiMeter.h"
|
||||
#include "Gui/GuiText.h"
|
||||
#include "Gui/Screen.h"
|
||||
|
||||
class MainScreen: public Screen {
|
||||
@@ -11,8 +12,14 @@ public:
|
||||
virtual void Update(float elapsedSecs) override;
|
||||
|
||||
void SetFuelMeterValue(float value) const;
|
||||
void SetHullMeterValue(float value) const;
|
||||
|
||||
void SetDepth(const std::string& text) const;
|
||||
|
||||
private:
|
||||
GuiMeter* m_FuelMeter;
|
||||
GuiMeter* m_HullMeter;
|
||||
|
||||
GuiText* m_DepthText;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user