fix java shit

This commit is contained in:
Felix Steghofer
2022-12-04 01:45:18 +01:00
parent 3db4f94e6a
commit c3f4512037
38 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package reversi.model;
/**
* Class for a player of reversi.
*/
public class Player {
/**
* Indicates if a player is human.
*/
private Boolean isHuman;
/**
* Constructs a new player.
*
* @param isHuman is the player human?
*/
public Player(final boolean isHuman) {
this.isHuman = isHuman;
}
/**
*
* @return Is player human?
*/
public final boolean getType() {
return isHuman;
}
}