Turn.java |
| NOTE:: THAT SINCE THIS EXERCISE WAS REMOVED, THIS CODE DOES NOT EVEN CLOSE TO WORK. SO ITS JUST FOR LOOKING AT! OK? /* James Little, 29/3/01 COSC 241 Turn.java For Scrabble application version 1.0 */ package jlittle_ex5; /** * This class is the generic turn class, other class extend this one. */ public class Turn { private int score; private int turnNum; private String commentary; public int getScore(){ return score; } public int getTurnNum(){ return turnNum; } public String getCommentary(){ return commentary; } public void setScore(int score){ this.score=score; } public void setTurnNum(int turnNum){ this.turnNum=turnNum; } public void setCommentary(String commentary){ this.commentary=commentary; } } |
James Little |