Class SetMasterLogic

java.lang.Object
  |
  +--java.util.Observable
        |
        +--SetMasterLogic

public class SetMasterLogic
extends Observable

Houses the logic of the game of SetMaster.

Version:
February 2004
Author:
Tim Corica

Constructor Summary
SetMasterLogic()
          Constructor.
 
Method Summary
 void addToScore(int amount)
          Adds an amount to Score.
 Deck getDeck()
          Returns its Deck.
 int getScore()
          Returns its Score.
 Tableau getTableau()
          Returns its Tableau.
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetMasterLogic

public SetMasterLogic()
Constructor. Builds frame and shows it.

Method Detail

addToScore

public void addToScore(int amount)
Adds an amount to Score.


getDeck

public Deck getDeck()
Returns its Deck.


getScore

public int getScore()
Returns its Score.


getTableau

public Tableau getTableau()
Returns its Tableau.