Utfører små endringer. Fikser en manglende vegg i Vault Assault

This commit is contained in:
Kristian Knarvik 2020-04-27 18:40:23 +02:00
parent cc71a50370
commit 3530ed2b41
4 changed files with 5 additions and 4 deletions

View File

@ -81,8 +81,8 @@ public class BoardActiveScreen extends InteractiveScreen {
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getPowerDownScreen(roboRallyWrapper));
break;
case SKIP_STAY_IN_POWER_DOWN:
roboRallyWrapper.client.sendElement(false);
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getLoadingScreen(roboRallyWrapper));
roboRallyWrapper.client.sendElement(false);
break;
default:
//Ignored

View File

@ -110,6 +110,7 @@ class RoboRallyClientListener extends Listener {
*/
private void receiveHand(ProgrammingCardDeck newHand) {
new Thread(() -> {
//Prevents a bug where the game
while (wrapper.roboRallyGame.getGameState() != GameState.WAITING_FOR_CARDS_FROM_SERVER) {
try {
TimeUnit.MILLISECONDS.sleep(100);

View File

@ -869,8 +869,8 @@ public class Board {
case WALL_LASER_TRIPLE:
laserParticleType = ParticleType.LASER_BEAM_TRIPLE;
break;
default:
throw new IllegalArgumentException("Invalid laser type encountered.");
default:
throw new IllegalArgumentException("Invalid laser type encountered.");
}
Particle laserParticle = new Particle(laserParticleType, laserDirection);
int positionX = addPosition.getXCoordinate();

View File

@ -23,7 +23,7 @@
0 0 1;3 0 0 0 0 0 0 5;7 0 0
0 0 5;3 0 0 0 0 0 0 6;7 0 0
3;7 0 0 0 2;6 0 0 2;4 0 0 0 3;3
0 0 0 0 0 0 0 0 0 0 0 0
0 0 1;5 0 0 0 0 0 0 0 0 0
1;7 0 0 0 0 1;1 5;1 0 0 0 0 1;3
0 0 0 0 0 0 0 0 0 0 0 0
0 0 3;5 0 1;5 0 0 1;5 0 1;5 0 0