Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //intelPlayer.java
- public abstract class intelPlayer extends Player
- {
- protected int rangeBottom;
- protected int rangeTop;
- public intelPlayer()
- {
- super();
- this.rangeBottom=0;
- this.rangeTop=Game.RANGE;
- }
- public int getTop()
- {
- return this.rangeTop;
- }
- public int getBottom()
- {
- return this.rangeBottom;
- }
- public void setTop(int num)
- {
- this.rangeTop=num;
- }
- public void setBottom(int num)
- {
- this.rangeBottom=num;
- }
- public abstract int guessNumber();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement