/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* SoloGame.js :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: edbernar { if (child.geometry) child.geometry.dispose(); if (child.material) child.material.dispose(); if (child.texture) child.texture.dispose(); scene.remove(child); }); } scene = null; } }; function loop() { stats.begin(); controls.update(); Ball.update(); Map.update(); Players.update(); renderer.render(scene, camera); stats.end(); } export { SoloGame };