1 #include "ClientState.hpp"
3 #include "Environment.hpp"
4 #include "TextureIndex.hpp"
8 ClientState::ClientState(
10 const World::Config &wc,
12 const Client::Config &cc
16 , world(block_types, wc, ws)
22 void ClientState::Handle(const SDL_Event &event) {
23 if (event.type == SDL_QUIT) {
29 void ClientState::Update(int dt) {
32 if (client.TimedOut()) {
38 void ClientState::Render(Viewport &viewport) {