on va cacher Lester quand même

This commit is contained in:
Baptiste 2023-12-28 16:24:46 +01:00
parent cf3f41b1ea
commit 2b98085c0a
3 changed files with 12 additions and 1 deletions

View file

@ -27,6 +27,9 @@
.green { .green {
background-color: green; background-color: green;
} }
.blue {
background-color: skyblue;
}
.fifty { .fifty {
width:40%; width:40%;
} }
@ -48,6 +51,7 @@
</script> </script>
<input type="number" id="id" class="button thirty" placeholder="id"><a onclick="kill_someone()" class="button fifty red" width="50%">KILL</a> <input type="number" id="id" class="button thirty" placeholder="id"><a onclick="kill_someone()" class="button fifty red" width="50%">KILL</a>
<a onclick="window.parent.Lester(4,null)" class="button red" width="50%">KILL EVERYONE</a> <a onclick="window.parent.Lester(4,null)" class="button red" width="50%">KILL EVERYONE</a>
<a onclick="window.parent.Lester(5,null)" class="button blue" width="50%">COLLISIONS</a>
<a onclick="window.parent.Lester(2,null)" class="button yellow">FULL LIFE</a> <a onclick="window.parent.Lester(2,null)" class="button yellow">FULL LIFE</a>
<a onclick="window.parent.Lester(1,[363,282,5])" class="button green">SAFE ZONE</a> <a onclick="window.parent.Lester(1,[363,282,5])" class="button green">SAFE ZONE</a>
<a onclick="window.parent.Lester(1,[200,100,0])" class="button green">MAP 0</a> <a onclick="window.parent.Lester(1,[200,100,0])" class="button green">MAP 0</a>

View file

@ -43,7 +43,7 @@
<img src="./assets/phone/facebook.png" class="icon" id="appli-fb"> <img src="./assets/phone/facebook.png" class="icon" id="appli-fb">
<img src="./assets/phone/utube.png" class="icon" id="appli-utube"> <img src="./assets/phone/utube.png" class="icon" id="appli-utube">
<img src="./assets/phone/gogole.png" class="icon" id="appli-goo"> <img src="./assets/phone/gogole.png" class="icon" id="appli-goo">
<img src="./assets/phone/lester.jpeg" class="icon" id="appli-lest"> <img src="./assets/phone/lester.jpeg" class="icon" id="appli-lest" style="display:none">
</div> </div>
<iframe id="webview" style="overflow: hidden;"></iframe> <iframe id="webview" style="overflow: hidden;"></iframe>
<div id="chatInputDiv"> <div id="chatInputDiv">

View file

@ -223,5 +223,12 @@ function Lester(type, data) {
} }
}); });
break; break;
case 5:
if(drawCollisions) {
drawCollisions=false
} else {
drawCollisions=true
}
break;
} }
} }