mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 15:19:35 +01:00
Utfører små endringer. Fikser en manglende vegg i Vault Assault
This commit is contained in:
parent
cc71a50370
commit
3530ed2b41
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user