ca.ualberta.cs.poker.free.tournament
Class Series

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean complete()
           
 java.util.ArrayList generateMatches()
           
 java.util.ArrayList getMatches()
           
 java.lang.String getWinner()
           
 boolean hasMatchInForge(Forge f)
           
 boolean load(Forge f)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Series

public Series(int _num,
              int _numMatches,
              Node comp1,
              Node comp2)
Method Detail

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