java.lang.Object
cz.cvut.fel.pjv.model.Player.Player
cz.cvut.fel.pjv.model.Player.ComputerPlayer
- All Implemented Interfaces:
java.io.Serializable
public class ComputerPlayer extends Player
Class representation of the computer 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 ComputerPlayer(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
-
ComputerPlayer
public ComputerPlayer(boolean whiteSide)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-