mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Hotfix for stuff
This commit is contained in:
@@ -47,9 +47,11 @@ public abstract class BitboardGame implements TurnBasedGame {
|
||||
|
||||
this.playerBitboard = other.playerBitboard.clone();
|
||||
this.currentTurn = other.currentTurn;
|
||||
this.players = Arrays.stream(other.players)
|
||||
.map(Player::deepCopy)
|
||||
.toArray(Player[]::new);
|
||||
this.players = other.players;
|
||||
// TODO: Players are not deep copied, which is bad. I don't know why but deepcopying breaks it. Fix it
|
||||
//this.players = Arrays.stream(other.players)
|
||||
// .map(Player::deepCopy)
|
||||
// .toArray(Player[]::new);
|
||||
}
|
||||
|
||||
public int getColumnSize() {
|
||||
|
||||
Reference in New Issue
Block a user