VEGO-Engine  0.1
Loading...
Searching...
No Matches
Game.h
1#pragma once
2
3class GameInternal;
4
5// TODO: add managers here
6class Game {
7public:
8 virtual ~Game() {}
9
10 virtual void init() = 0;
11 virtual void update(uint_fast16_t diffTime) = 0;
12
21 virtual std::optional<std::string> setConfigFilePath() {return std::nullopt;}
22
23 GameInternal* gameInternal;
24};
25
26
27// game factory include to simplify imports in implementation
28#include "GameFactory.h"