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++

#ifndef GAME_H
#define GAME_H
#include "core/inputtype.h"
class Game
{
public:
virtual ~Game() = default;
virtual void run() = 0;
virtual void input(PlayerInput&& inputdata) = 0;
virtual void update() = 0;
virtual void draw() const = 0;
};
#endif // GAME_H