first tests

This commit is contained in:
Johannes Schmelz
2024-12-01 20:12:36 +01:00
parent 3b2cfad774
commit b702e3a14d
8 changed files with 1250 additions and 757 deletions

View File

@@ -158,6 +158,14 @@ public class Player implements FieldVisitor<Void>{
return accountBalance >= 0;
}
public PlayerState getState() {
return state;
}
public void setState(PlayerState state) {
this.state = state;
}
/**
* Moves the player by a given number of steps, handling board wrapping.
*

View File

@@ -19,7 +19,7 @@ public class Card {
return description;
} // TODO wird gerade in der EventCard zur erstellung des Popup genutzt
String getKeyword() {
public String getKeyword() {
return keyword;
}
}