VEGO-Engine
0.1
Loading...
Searching...
No Matches
Game.h
1
#pragma once
2
3
class
GameInternal;
4
5
// TODO: add managers here
6
class
Game {
7
public
:
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"
include
Game.h
Generated by
1.13.2