java.lang.Object
cz.cvut.fel.pjv.model.Player.Player
cz.cvut.fel.pjv.model.Player.HumanPlayer
- All Implemented Interfaces:
java.io.Serializable
public class HumanPlayer extends Player
Class representation of the human player.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class cz.cvut.fel.pjv.model.Player.Player
humanPlayer, whiteSide -
Constructor Summary
Constructors Constructor Description HumanPlayer(boolean whiteSide) -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()Methods inherited from class cz.cvut.fel.pjv.model.Player.Player
getName, isHumanPlayer, isWhiteSide, setHumanPlayer, setName, setWhiteSideMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
HumanPlayer
public HumanPlayer(boolean whiteSide)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-