Add Alot
This commit is contained in:
23
Game/Gui/Screens/SellScreen/SellScreen.h
Normal file
23
Game/Gui/Screens/SellScreen/SellScreen.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include "SellSreenRow.h"
|
||||
#include "../../Screen.h"
|
||||
#include "Gui/GuiText.h"
|
||||
|
||||
class SellScreen final : public Screen {
|
||||
public:
|
||||
SellScreen(const std::string& filePath, Vector2f pos, Vector2f size, TextureManager* manager);
|
||||
virtual ~SellScreen() override;
|
||||
|
||||
virtual void Draw() const override;
|
||||
virtual void Update(float elapsedSecs) override;
|
||||
|
||||
void MarkDirty();
|
||||
void SellAll();
|
||||
|
||||
private:
|
||||
GuiText* m_TotalMoneyText;
|
||||
|
||||
std::vector<SellSreenRow *> m_Rows;
|
||||
|
||||
bool m_AreRowsDirty { true };
|
||||
};
|
||||
Reference in New Issue
Block a user