ca.ualberta.cs.poker.free.tournament
Class Series
java.lang.Object
ca.ualberta.cs.poker.free.tournament.Series
- All Implemented Interfaces:
- Node
public class Series
- extends java.lang.Object
- implements Node
Constructor Summary |
Series(int _num,
int _numMatches,
Node comp1,
Node comp2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Series
public Series(int _num,
int _numMatches,
Node comp1,
Node comp2)
complete
public boolean complete()
- Specified by:
complete
in interface Node
load
public boolean load(Forge f)
- Specified by:
load
in interface Node
hasMatchInForge
public boolean hasMatchInForge(Forge f)
getMatches
public java.util.ArrayList getMatches()
generateMatches
public java.util.ArrayList generateMatches()
getWinner
public java.lang.String getWinner()
- Specified by:
getWinner
in interface Node
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object