mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 07:29:21 +01:00
Remove Point2f, replace with Vector2f
This commit is contained in:
@@ -16,12 +16,12 @@ MainMenuLevel::~MainMenuLevel() {
|
||||
void MainMenuLevel::Update(float elapsedSec) {
|
||||
}
|
||||
void MainMenuLevel::Draw() const {
|
||||
m_TextMotherload->Draw(Point2f(200, 100));
|
||||
m_TextNewGame->Draw(Point2f(200, 200));
|
||||
m_TextExit->Draw(Point2f(200, 300));
|
||||
m_TextMotherload->Draw(Vector2f(200, 100));
|
||||
m_TextNewGame->Draw(Vector2f(200, 200));
|
||||
m_TextExit->Draw(Vector2f(200, 300));
|
||||
|
||||
}
|
||||
void MainMenuLevel::MouseMove(const Point2f& mousePos) {
|
||||
void MainMenuLevel::MouseMove(const Vector2f& mousePos) {
|
||||
}
|
||||
void MainMenuLevel::ProcessImGui() {
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
|
||||
void Update(float elapsedSec) override;
|
||||
void Draw() const override;
|
||||
void MouseMove(const Point2f& mousePos) override;
|
||||
void MouseMove(const Vector2f& mousePos) override;
|
||||
void ProcessImGui() override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user