Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Objects of Checker class are created here. Each checker is either red or black
- * and has been kinged or not. Both attributes have package access.
- *
- * @author
- * Date: 07/09/2014
- */
- public class Checker
- {
- boolean isRed; //colour of checker object.
- boolean isKing; //true if checker has been kinged.
- private int row;
- private int col;
- public Checker(boolean isRed, boolean isKing)
- {
- this.isRed = isRed;
- this.isKing = isKing;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement