21 virtual void setDevMode(
bool dev,
int port,
const std::string& machine) = 0;
Represents the current state of the game. Knows the world state, some metadata, and how to apply even...
Pure interface for rendering the game state.
virtual std::optional< int > getPendingSpeedChange()=0
virtual bool shouldClose()=0
virtual void setState(const GameState &state)=0
virtual void shutdown()=0
virtual ~IRenderer()=default
virtual void setDevMode(bool dev, int port, const std::string &machine)=0
virtual void handleInput()=0