net.sourceforge.cilib.games.result
Class ScoreGameResult

java.lang.Object
  extended by net.sourceforge.cilib.games.result.AbstractGameResult
      extended by net.sourceforge.cilib.games.result.ScoreGameResult
All Implemented Interfaces:
Serializable, Cloneable

public class ScoreGameResult
extends AbstractGameResult

Author:
leo there is no winner and or loser, each player is given a score in the game, and this is recorded
See Also:
Serialized Form

Constructor Summary
ScoreGameResult(double highScore)
           
ScoreGameResult(ScoreGameResult other)
           
 
Method Summary
 ScoreGameResult getClone()
          Create a cloned copy of the current object and return it.
 double getHighScore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreGameResult

public ScoreGameResult(double highScore)

ScoreGameResult

public ScoreGameResult(ScoreGameResult other)
Method Detail

getHighScore

public double getHighScore()

getClone

public ScoreGameResult getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Specified by:
getClone in class AbstractGameResult
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()


Copyright © 2009 CIRG. All Rights Reserved.