Class GameWindow
java.lang.Object
zombie.GameWindow
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic JoypadManager.Joypad
static AssetManagers
static float
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static FileSystem
static final Input
static Thread
static String
static String
static boolean
static GameStateMachine
static final ArrayList
<zombie.GameWindow.TexturePack> static final FileSystem.TexturePackTextures
static String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
DoLoadingText
(String text) static void
doRenderEvent
(boolean b) static String
static ByteBuffer
getEncodedBytesUTF
(String string) static long
static void
static void
static boolean
static void
LoadTexturePack
(String pack, int flags) static void
LoadTexturePack
(String pack, int flags, String modID) static int
static long
static String
ReadString
(DataInputStream input) static String
ReadString
(ByteBuffer input) static String
ReadStringUTF
(ByteBuffer input) static UUID
ReadUUID
(ByteBuffer byteBuffer) static void
render()
protected static void
static void
save
(boolean bDoChars) static void
static void
uncaughtException
(Thread thread, Throwable e) static void
WriteString
(DataOutputStream output, String str) static void
WriteString
(ByteBuffer output, String str) static void
WriteStringUTF
(ByteBuffer output, String str) static void
WriteUUID
(ByteBuffer byteBuffer, UUID uUID)
-
Field Details
-
GameInput
-
DEBUG_SAVE
public static boolean DEBUG_SAVE -
OkToSaveOnExit
public static boolean OkToSaveOnExit -
lastP
-
states
-
bServerDisconnected
public static boolean bServerDisconnected -
bLoadedAsClient
public static boolean bLoadedAsClient -
kickReason
-
DrawReloadingLua
public static boolean DrawReloadingLua -
ActivatedJoyPad
-
version
-
closeRequested
public static volatile boolean closeRequested -
averageFPS
public static float averageFPS -
bLuaDebuggerKeyDown
public static boolean bLuaDebuggerKeyDown -
fileSystem
-
assetManagers
-
bGameThreadExited
public static boolean bGameThreadExited -
GameThread
-
texturePacks
-
texturePackTextures
-
-
Constructor Details
-
GameWindow
public GameWindow()
-
-
Method Details
-
isIngameState
public static boolean isIngameState() -
render
public static void render() -
renderInternal
protected static void renderInternal() -
InitDisplay
- Throws:
IOException
org.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
-
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
-