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.
|
#pragma once
|
|
|
|
#include "core/inputtype.h"
|
|
#include "core/updatedata.h"
|
|
|
|
class Game
|
|
{
|
|
public:
|
|
virtual ~Game() = default;
|
|
|
|
virtual void run() = 0;
|
|
|
|
virtual void input(PlayerInput&& inputdata) = 0;
|
|
virtual void update(UpdateData&& updatedata) = 0;
|
|
virtual void draw() const = 0;
|
|
};
|