feud.testgame.gui
Class Highscores

java.lang.Object
  extended byfeud.testgame.gui.GUIComponent
      extended byfeud.testgame.gui.Table
          extended byfeud.testgame.gui.Highscores

public class Highscores
extends Table

An extended table for displaying the current scores. Highscores is a stupid for it...anyway...:-)


Field Summary
 
Fields inherited from class feud.testgame.gui.GUIComponent
visible
 
Constructor Summary
Highscores(HighscoreTable hi)
          Create a new instance.
 
Methods inherited from class feud.testgame.gui.Table
clear, draw, evaluateInput, getCell, insertCell, setCell, setColumnSize, setListener, setRowSize
 
Methods inherited from class feud.testgame.gui.GUIComponent
add, getParent, getParentX, getParentY, getX, getY, isVisible, setVisible, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Highscores

public Highscores(HighscoreTable hi)
Create a new instance. A new instance will be created everytime that the score changes. But it's a quite lightweight component, so this shouldn't be a problem.

Parameters:
hi - the HighscoreTable, i.e. the "model" that holds the actual data.