org.dartra.standard
Class StandardScore

java.lang.Object
  extended byorg.dartra.standard.StandardScore
All Implemented Interfaces:
Score

public class StandardScore
extends java.lang.Object
implements Score

Standard implementation of the Score interface.

Author:
Erwin Vervaet

Constructor Summary
StandardScore(int startValue)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getValue()
          Get the score value.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardScore

public StandardScore(int startValue)
Method Detail

getValue

public int getValue()
Description copied from interface: Score

Get the score value.

Specified by:
getValue in interface Score

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()