forked from NaiJi/project-kyoku
20 lines
318 B
C++
20 lines
318 B
C++
#pragma once
|
|
|
|
#include "core/gameevent.h"
|
|
#include "core/updatedata.h"
|
|
|
|
namespace kku
|
|
{
|
|
|
|
class Game
|
|
{
|
|
public:
|
|
virtual ~Game() = default;
|
|
|
|
virtual void run() = 0;
|
|
virtual void input(GameEvent&& inputdata) = 0;
|
|
virtual void update(UpdateData&& updatedata) = 0;
|
|
virtual void display() const = 0;
|
|
};
|
|
|
|
} |