mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 21:01:48 +01:00
26 lines
523 B
C++
26 lines
523 B
C++
#pragma once
|
|
#include "Gui/GuiMeter.h"
|
|
#include "Gui/GuiText.h"
|
|
#include "Gui/Screen.h"
|
|
|
|
class MainScreen: public Screen {
|
|
public:
|
|
explicit MainScreen(TextureManager* manager);
|
|
virtual ~MainScreen() override;
|
|
|
|
virtual void Draw() const override;
|
|
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;
|
|
|
|
};
|