Class GameWindow
java.lang.Object
zombie.GameWindow
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic JoypadManager.Joypadstatic AssetManagersstatic floatstatic booleanstatic final booleanstatic booleanstatic FileSystemstatic final Inputstatic Threadstatic booleanstatic Stringstatic Stringstatic booleanstatic booleanstatic booleanstatic booleanstatic GameStateMachinestatic final ArrayList<zombie.GameWindow.TexturePack> static final FileSystem.TexturePackTexturesstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDoLoadingText(String text) static voiddoRenderEvent(boolean b) static Stringstatic ByteBuffergetEncodedBytesUTF(String str) static longstatic voidstatic voidstatic voidstatic booleanstatic voidLoadTexturePack(String pack, int flags) static voidLoadTexturePack(String pack, int flags, String modID) static intstatic longstatic StringReadString(DataInputStream input) static StringReadString(ByteBuffer input) static StringReadStringUTF(ByteBuffer input) static UUIDReadUUID(ByteBuffer input) static voidrender()static voidsave(boolean bDoChars) static voidstatic voiduncaughtException(Thread thread, Throwable e) static voidWriteString(DataOutputStream output, String str) static voidWriteString(ByteBuffer output, String str) static voidWriteStringUTF(ByteBuffer output, String str) static voidWriteUUID(ByteBuffer output, UUID uuid)
-
Field Details
-
GameInput
-
DEBUG_SAVE
public static final boolean DEBUG_SAVE- See Also:
-
okToSaveOnExit
public static boolean okToSaveOnExit -
lastP
-
states
-
serverDisconnected
public static boolean serverDisconnected -
loadedAsClient
public static boolean loadedAsClient -
kickReason
-
drawReloadingLua
public static boolean drawReloadingLua -
activatedJoyPad
-
version
-
closeRequested
public static volatile boolean closeRequested -
averageFPS
public static float averageFPS -
luaDebuggerKeyDown
public static boolean luaDebuggerKeyDown -
fileSystem
-
assetManagers
-
gameThreadExited
public static boolean gameThreadExited -
gameThread
-
texturePacks
-
texturePackTextures
-
-
Constructor Details
-
GameWindow
public GameWindow()
-
-
Method Details
-
isIngameState
public static boolean isIngameState() -
render
public static void render() -
InitDisplay
- Throws:
IOExceptionorg.lwjglx.LWJGLException
-
InitGameThread
public static void InitGameThread() -
uncaughtException
-
readLong
- Throws:
IOException
-
readInt
- Throws:
IOException
-
getUpdateTime
public static long getUpdateTime() -
setTexturePackLookup
public static void setTexturePackLookup() -
LoadTexturePack
-
LoadTexturePack
-
initFonts
- Throws:
FileNotFoundException
-
save
- Throws:
IOException
-
getCoopServerHome
-
WriteString
-
WriteStringUTF
-
WriteString
- Throws:
IOException
-
ReadStringUTF
-
ReadString
-
ReadString
- Throws:
IOException
-
getEncodedBytesUTF
-
WriteUUID
-
ReadUUID
-
doRenderEvent
public static void doRenderEvent(boolean b) -
DoLoadingText
-