mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 23:33:41 +00:00
18 lines
332 B
C++
18 lines
332 B
C++
#pragma once
|
|
|
|
class GameInternal;
|
|
|
|
// TODO: add managers here
|
|
class Game {
|
|
public:
|
|
virtual ~Game() {}
|
|
|
|
virtual void init() = 0;
|
|
virtual void update(uint_fast16_t diffTime) = 0;
|
|
|
|
GameInternal* gameInternal; //!< \deprecated
|
|
};
|
|
|
|
|
|
// game factory include to simplify imports in implementation
|
|
#include "GameFactory.h" |