mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 20:41:47 +01:00
Reformat + Basic animation system
General fixes
This commit is contained in:
10
Game/Game.h
10
Game/Game.h
@@ -1,10 +1,8 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
#include "BaseGame.h"
|
||||
#include "Camera.h"
|
||||
#include "WorldLevel.h"
|
||||
#include "WorldTile.h"
|
||||
|
||||
class Game : public BaseGame
|
||||
{
|
||||
@@ -15,7 +13,7 @@ public:
|
||||
Game(Game&& other) = delete;
|
||||
Game& operator=(Game&& other) = delete;
|
||||
// http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rh-override
|
||||
~Game();
|
||||
~Game() override;
|
||||
|
||||
void Update(float elapsedSec) override;
|
||||
void Draw() const override;
|
||||
@@ -40,8 +38,8 @@ private:
|
||||
Camera m_Camera;
|
||||
WorldLevel m_WorldLevel;
|
||||
|
||||
Point2f m_MousePos{};
|
||||
Point2f m_MouseOffset{};
|
||||
bool m_IsRightMouseDown{};
|
||||
Point2f m_MousePos {};
|
||||
Point2f m_MouseOffset {};
|
||||
bool m_IsRightMouseDown {};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user