-, block_types()
-, save(master.GetEnv().config.GetWorldPath(master.GetWorldConf().name, master.GetClientConf().host))
-, world(block_types, master.GetWorldConf())
-, interface(
- master.GetInterfaceConf(),
- master.GetEnv(),
- world,
- world.AddPlayer(master.GetInterfaceConf().player_name, player_id)
-)
-, chunk_renderer(*interface.GetPlayer().chunks)
-, skeletons()
+, res()
+, sounds()
+, save(master.GetEnv().config.GetWorldPath(master.GetWorldConf().name, master.GetConfig().net.host))
+, world(res.block_types, master.GetWorldConf())
+, player(*world.AddPlayer(master.GetConfig().player.name, player_id))
+, hud(master.GetEnv(), master.GetConfig(), player)
+, manip(master.GetEnv().audio, sounds, player.GetEntity())
+, input(world, player, master.GetClient())
+, interface(master.GetConfig(), master.GetEnv().keymap, input, *this)
+, chunk_receiver(world.Chunks(), save)
+, chunk_renderer(player.GetChunks())