Class Stats

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----Stats

class Stats
extends Canvas
implements Runnable
Sorry, not documented yet.

Source


Variable Index

 o addPoints
 o ballHeight
 o balls
 o ballWidth
 o ballY
 o bullets
 o height
 o ledtext
 o maxBullets
 o points
 o stopNow
 o thread
 o width

Constructor Index

 o Stats()

Method Index

 o addBullets()
 o addPoints(int)
 o decBalls()
false -> no balls left
 o drawBalls(Graphics)
 o drawBullets(Graphics)
 o drawPoints(Graphics)
 o incBalls()
 o killBullet()
 o noBallLeft()
 o paint(Graphics)
 o run()
 o setBalls(int)

Variables

 o width
 int width
 o height
 int height
 o ballWidth
 int ballWidth
 o ballHeight
 int ballHeight
 o ballY
 int ballY
 o balls
 int balls
 o points
 int points
 o addPoints
 int addPoints
 o ledtext
 LEDText ledtext
 o thread
 Thread thread
 o stopNow
 boolean stopNow
 o bullets
 int bullets
 o maxBullets
 int maxBullets

Constructors

 o Stats
 Stats()

Methods

 o run
 public void run()
 o paint
 public synchronized void paint(Graphics g)
Overrides:
paint in class Canvas
 o drawBalls
 synchronized void drawBalls(Graphics g)
 o drawPoints
 synchronized void drawPoints(Graphics g)
 o drawBullets
 synchronized void drawBullets(Graphics g)
 o decBalls
 synchronized boolean decBalls()
false -> no balls left

 o incBalls
 synchronized void incBalls()
 o setBalls
 synchronized void setBalls(int b)
 o noBallLeft
 boolean noBallLeft()
 o addPoints
 synchronized void addPoints(int p)
 o addBullets
 synchronized void addBullets()
 o killBullet
 synchronized boolean killBullet()