23 lines
350 B
C++
23 lines
350 B
C++
#pragma once
|
|
|
|
#include <td/game/World.h>
|
|
|
|
namespace td {
|
|
namespace sim {
|
|
|
|
// TODO: OnEnd signal
|
|
class ServerSimulation {
|
|
private:
|
|
game::World& m_World;
|
|
std::uint64_t m_StepTime;
|
|
std::uint64_t m_CurrentTime;
|
|
|
|
public:
|
|
ServerSimulation(game::World& a_World, std::uint64_t a_StepTime);
|
|
|
|
void Update();
|
|
};
|
|
|
|
} // namespace sim
|
|
} // namespace td
|