demo.inpro.system.greifarm
Class GameScore
java.lang.Object
demo.inpro.system.greifarm.GameScore
- All Implemented Interfaces:
- java.lang.Runnable
public class GameScore
- extends java.lang.Object
- implements java.lang.Runnable
a nice little highscore that counts down during game play
and increments when waste is dropped into the bowl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
time
int time
score
int score
feelGoodAddition
int feelGoodAddition
scoreLabel
javax.swing.JLabel scoreLabel
GameScore
public GameScore()
redrawLabel
private void redrawLabel()
getCombinedScore
public int getCombinedScore()
getScoreLabel
public javax.swing.JLabel getScoreLabel()
reset
public void reset()
increaseScore
public void increaseScore(int amount)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable