You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
282 B
C
19 lines
282 B
C
3 years ago
|
#ifndef GAME_H
|
||
|
#define GAME_H
|
||
|
|
||
3 years ago
|
#include "core/inputtype.h"
|
||
3 years ago
|
|
||
|
class Game
|
||
|
{
|
||
|
public:
|
||
|
virtual ~Game() = default;
|
||
|
|
||
|
virtual void run() = 0;
|
||
|
|
||
3 years ago
|
virtual void input(PlayerInput&& inputdata) = 0;
|
||
3 years ago
|
virtual void update() = 0;
|
||
3 years ago
|
virtual void draw() const = 0;
|
||
3 years ago
|
};
|
||
|
|
||
|
#endif // GAME_H
|