Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

schiffeversenken
Class Spiel  view Spiel download Spiel.java

java.lang.Object
  extended byjava.lang.Thread
      extended byschiffeversenken.Spiel
All Implemented Interfaces:
java.lang.Runnable

public class Spiel
extends java.lang.Thread


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  int fertig
           
(package private)  int groesse
           
(package private)  int[] shipArray
           
(package private)  Spieler[] spieler
           
(package private)  int winner
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Spiel(int groesse, Callback c)
           
 
Method Summary
 void chatSend(java.lang.String str)
           
 void countShips()
           
 int[] getShipArray()
           
 void run()
          The method of Thread that will be run if there is no Runnable object associated with the Thread.
 boolean setzenFertig()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Field Detail

shipArray

int[] shipArray

groesse

int groesse

spieler

Spieler[] spieler

winner

int winner

fertig

int fertig
Constructor Detail

Spiel

public Spiel(int groesse,
             Callback c)
Method Detail

countShips

public void countShips()

getShipArray

public int[] getShipArray()

setzenFertig

public boolean setzenFertig()

run

public void run()
Description copied from class: java.lang.Thread
The method of Thread that will be run if there is no Runnable object associated with the Thread. Thread's implementation does nothing at all.


chatSend

public void chatSend(java.lang.String str)