zork2Class
Class Score

java.lang.Object
  |
  +--zork2Class.Score

public class Score
extends java.lang.Object

classe : Score.java
the player's score class

Author:
Michel de VERDELHAN, Fabien BOYERE

Constructor Summary
Score()
          constructor of Score Object
Score(long value)
          constructor of Score Object
 
Method Summary
 void addPoint(long add)
          constructor of Score Object
 long getValue()
          Returns the value.
 void setValue(long value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Score

public Score()
constructor of Score Object


Score

public Score(long value)
constructor of Score Object

Method Detail

addPoint

public void addPoint(long add)
constructor of Score Object


getValue

public long getValue()
Returns the value.

Returns:
int

setValue

public void setValue(long value)
Sets the value.

Parameters:
value - The value to set