spacewar
Class EnergyPacketProducer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--spacewar.EnergyPacketProducer
All Implemented Interfaces:
java.lang.Runnable

class EnergyPacketProducer
extends java.lang.Thread


Fields inherited from class java.lang.Thread
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals
 
Constructor Summary
(package private) EnergyPacketProducer(Game theGame)
          
 
Method Summary
(package private)  Game getGame()
          
(package private)  void produceAPacket()
          
 void run()
          
(package private)  void waitForABit()
          
 
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
 

Constructor Detail

EnergyPacketProducer

EnergyPacketProducer(Game theGame)
Method Detail

getGame

Game getGame()

run

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

waitForABit

void waitForABit()

produceAPacket

void produceAPacket()