nu.dll.pong
Class BallMoverThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--nu.dll.pong.BallMoverThread
All Implemented Interfaces:
java.lang.Runnable

public class BallMoverThread
extends java.lang.Thread

Everything moved from an innerclass in the PongPanel: that's why there's no real interface between this class and the PongPanel but merely direct access of package-protected or public members.

Bugs: many, among them:

and so on...


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
protected  int inv(int i)
          Inverts an integer
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread

inv

protected int inv(int i)
Inverts an integer