moagg.game.level.applet
Class ScoreApplet

java.lang.Object
  extended by moagg.game.level.applet.AbstractApplet
      extended by moagg.game.level.applet.ScoreApplet
All Implemented Interfaces:
Applet

public class ScoreApplet
extends AbstractApplet


Constructor Summary
ScoreApplet()
           
 
Method Summary
protected  java.lang.String getBestScoreString(Score score)
           
protected  java.lang.String getScoreString(Score score)
           
protected  java.lang.String getYourScoreString(Score score)
           
protected  void renderContent(java.awt.Graphics2D g)
           
 void setBestScore(Score bestScore)
           
 void setScore(Score score)
           
 void update(long elapsedTime)
           
 
Methods inherited from class moagg.game.level.applet.AbstractApplet
getPosition, render, setPosition, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreApplet

public ScoreApplet()
Method Detail

setScore

public void setScore(Score score)

setBestScore

public void setBestScore(Score bestScore)

update

public void update(long elapsedTime)

renderContent

protected void renderContent(java.awt.Graphics2D g)
Specified by:
renderContent in class AbstractApplet

getBestScoreString

protected java.lang.String getBestScoreString(Score score)

getYourScoreString

protected java.lang.String getYourScoreString(Score score)

getScoreString

protected java.lang.String getScoreString(Score score)


Copyright © 2008. All Rights Reserved.