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.

25 lines
412 B
C++

#pragma once
#include "core/gameevent.h"
#include "core/updatedata.h"
namespace kku
{
/// Game
///
/// Functional aggregation of
/// logic for actual game mode
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;
};
} // namespace kku