mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 19:33:40 +01:00
now allowed to roll dice after getting out of jail
This commit is contained in:
parent
bc31c61fb3
commit
8e3cf9c31e
@ -626,6 +626,7 @@ public class Player implements FieldVisitor<Void>{
|
||||
if (rollResult.isDoublets()) {
|
||||
handler.getLogic().send(Player.this, new JailEvent(false));
|
||||
state = new ActiveState();
|
||||
getHandler().getLogic().send(Player.this, new NextPlayerTurn());
|
||||
} else {
|
||||
remainingAttempts--;
|
||||
}
|
||||
@ -637,6 +638,7 @@ public class Player implements FieldVisitor<Void>{
|
||||
public void payBail() {
|
||||
pay(500);
|
||||
state = new ActiveState();
|
||||
getHandler().getLogic().send(Player.this, new NextPlayerTurn());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user