jskat.data
Class SkatTableData

java.lang.Object
  extended by java.util.Observable
      extended by jskat.data.SkatTableData

public class SkatTableData
extends java.util.Observable


Constructor Summary
SkatTableData()
           
 
Method Summary
 int addSkatSeries(SkatSeries newSkatSeries)
          Adds a new SkatSeries to the table data
 SkatGameData getCurrGameData()
          Returns the data of the current game
 SkatGame getCurrSkatGame()
          Returns the current game
 SkatSeries getCurrSkatSeries()
           
 
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

SkatTableData

public SkatTableData()
Method Detail

getCurrSkatSeries

public SkatSeries getCurrSkatSeries()

getCurrSkatGame

public SkatGame getCurrSkatGame()
Returns the current game

Returns:
The current game

getCurrGameData

public SkatGameData getCurrGameData()
Returns the data of the current game

Returns:
The data of the current game

addSkatSeries

public int addSkatSeries(SkatSeries newSkatSeries)
Adds a new SkatSeries to the table data

Parameters:
newSkatSeries - The new SkatSeries
Returns:
The ID of the new SkatSeries