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