org.apogames
Class ApoLibraryGame

java.lang.Object
  extended by java.lang.Thread
      extended by org.apogames.ApoLibraryGame
All Implemented Interfaces:
java.lang.Runnable

public final class ApoLibraryGame
extends java.lang.Thread

Spielstartklasse

Author:
Dirk Aporius

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static int EXIT
          SubGame ID fürs Beenden des Spiels
static int GAME
          SubGame ID für das Spiel
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ApoLibraryGame(ApoSubGame game)
          Konstruktor
 
Method Summary
 ApoScreen getScreen()
          gibt den eigentlichen Screen des Spiels zurück
 void run()
          Spiel startet hier
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GAME

public static final int GAME
SubGame ID für das Spiel

See Also:
Constant Field Values

EXIT

public static final int EXIT
SubGame ID fürs Beenden des Spiels

See Also:
Constant Field Values
Constructor Detail

ApoLibraryGame

public ApoLibraryGame(ApoSubGame game)
Konstruktor

Parameters:
title - : Titel des Spiels
displayConfiguration - : Displaykonfigurationen
Method Detail

run

public void run()
Spiel startet hier

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getScreen

public final ApoScreen getScreen()
gibt den eigentlichen Screen des Spiels zurück

Returns:
gibt den eigentlichen Screen des Spiels zurück