net.sourceforge.cilib.games.result
Class WinGameResult
java.lang.Object
net.sourceforge.cilib.games.result.AbstractGameResult
net.sourceforge.cilib.games.result.WinGameResult
- All Implemented Interfaces:
- Serializable, Cloneable
public class WinGameResult
- extends AbstractGameResult
- Author:
- leo
One of the agents won the game
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WinGameResult
public WinGameResult(int playerNo)
WinGameResult
public WinGameResult(WinGameResult other)
getWinnerID
public int getWinnerID()
getClone
public WinGameResult 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.