From 405ed748986f891ec12a30339e41f243cf23630a Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Wed, 29 Apr 2020 22:25:28 +0200 Subject: [PATCH] Legger til brettet Death Trap --- .../gamewrapper/screens/LobbyScreen.java | 2 +- src/main/resources/boards/Death_Trap.txt | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/boards/Death_Trap.txt diff --git a/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/LobbyScreen.java b/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/LobbyScreen.java index d058ff7..edab71c 100644 --- a/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/LobbyScreen.java +++ b/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/LobbyScreen.java @@ -45,7 +45,7 @@ public class LobbyScreen extends InteractiveScreen { selectBox = new SelectBox<>(skin); selectBox.setItems("Dizzy_Dash", "Checkmate", "Risky_Exchange", "Twister", "Bloodbath_Chess", "Vault_Assault", - "Island_Hop", "Chop_Shop_Challenge", "Around_The_World"); + "Island_Hop", "Chop_Shop_Challenge", "Around_The_World", "Death_Trap"); selectBox.setSize(200, 50); selectBox.setPosition((applicationWidth - selectBox.getWidth()) / 2f, applicationHeight / 2f - 120); diff --git a/src/main/resources/boards/Death_Trap.txt b/src/main/resources/boards/Death_Trap.txt new file mode 100644 index 0000000..a442091 --- /dev/null +++ b/src/main/resources/boards/Death_Trap.txt @@ -0,0 +1,33 @@ +12 16 +01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 +01;1 34;7 35;3 01;1 01;1 01;1 01;1 01;1 01;1 35;7 34;1 01;1 +01;1 35;5 05;1 05;3 05;3 05;3 05;3 05;3 05;3 05;3 35;5 21;7 +01;1 01;1 05;1 04;7 05;7 05;7 05;7 05;7 04;7 05;5 01;1 01;1 +18;1 01;1 05;1 05;5 01;1 01;1 35;7 34;1 05;1 05;5 01;1 01;1 +01;1 01;1 05;1 09;5 05;7 05;7 19;1 35;5 05;1 05;5 01;1 01;1 +01;1 01;1 05;1 05;5 35;1 22;7 05;3 05;3 09;1 05;5 01;1 01;1 +01;1 01;1 05;1 05;5 34;5 35;3 01;1 17;1 05;1 05;5 01;1 01;1 +01;1 01;1 05;1 04;7 05;3 05;3 05;3 05;3 04;7 05;5 01;1 01;1 +01;1 35;1 03;7 05;7 05;7 05;7 05;7 05;7 05;7 03;7 35;1 01;1 +01;1 34;5 35;3 01;1 01;1 01;1 01;1 01;1 01;1 35;7 34;3 01;1 +21;7 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 +01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 +01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 +29;1 27;1 01;1 25;1 01;1 23;1 24;1 01;1 26;1 01;1 28;1 30;1 +01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 +0 0 1;1 0 1;1 0 0 1;1 0 1;1 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 +1;7 0 0 0 0 0 1;5 0 0 0 0 1;3 +0 0 0 0 0 0 0 0 0 0 0 0 +1;7 0 0 0 0 0 0 0 0 0 0 1;3 +0 0 1;3 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 1;7 0 0 +1;7 0 0 0 0 0 0 0 0 0 0 1;3 +0 0 0 0 0 0 0 0 0 0 0 0 +1;7 0 0 0 0 0 1;1 0 0 0 0 1;3 +0 0 0 0 0 0 0 0 0 0 0 0 +0 0 1;5 0 1;5 0 0 1;5 0 1;5 0 0 +0 0 1;1 0 1;1 0 0 1;1 0 1;1 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 +0 1;7 0 1;7 0 1;7 1;7 1;7 0 1;7 0 1;7 +0 0 1;5 0 1;5 0 0 1;5 0 1;5 0 0 \ No newline at end of file