KlassischeKeplerKriege/game/server.hpp

22 lines
371 B
C++
Raw Normal View History

2016-09-27 18:51:03 +00:00
#pragma once
#include "state/state.hpp"
class Server {
public:
Server();
// main method of the game. run this regulary
// return false if want to exit.
// bool cycle(float dt);
// for rendering
// const game::State *state() const { return m_state; }
private:
game::State *m_state;
float m_time_for_next_step;
float m_time_step;
};