Package zombie
Class GameWindow
java.lang.Object
zombie.GameWindow
public class GameWindow
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GameWindow.OSValidator
-
Field Summary
Fields Modifier and Type Field Description static JoypadManager.Joypad
ActivatedJoyPad
static int
ActiveController
static double
average10
static float
averageFPS
static boolean
bDrawMouse
static boolean
bFlipXY
static boolean
bLoadedAsClient
static boolean
bServerDisconnected
static boolean
closeRequested
static boolean
DEBUG_SAVE
static LineDrawer
debugLine
static boolean
DoFrame
static boolean
DrawReloadingLua
static boolean
flipX
static boolean
flipY
static java.lang.String
GAME_TITLE
static Input
GameInput
static java.lang.String
kickReason
static java.lang.String
lastK
static java.lang.String
lastP
static java.lang.String
lastU
static java.lang.String
LeftRight
static java.lang.String
LeftRightR
static boolean
OkToSaveOnExit
static GameStateMachine
states
static java.lang.String
TriggerL
static java.lang.String
UpDown
static java.lang.String
UpDownR
static java.lang.String
version
static int
XLAxis
static int
XRAxis
static int
YLAxis
static int
YRAxis
-
Constructor Summary
Constructors Constructor Description GameWindow()
-
Method Summary
Modifier and Type Method Description static void
copyFolder(java.io.File file, java.io.File file2)
static java.lang.String
copySaveDir(java.lang.String string)
static void
DoLoadingText(java.lang.String string)
static void
doRenderEvent(boolean boolean1)
static java.lang.String
getCacheDir()
static java.lang.String
getCoopServerHome()
int
getDelta()
static java.lang.String
getGameModeCacheDir()
static java.lang.String
getSaveDir()
static java.lang.String
getScreenshotDir()
static long
getTime()
static void
initApplet()
static void
initShared()
static void
initSharedServer()
Deprecated.static TexturePackPage
LoadTexturePack(java.lang.String string)
static void
LoadTexturePackDDS(java.lang.String string)
static void
logic()
static void
maina(boolean boolean1, int int1, int int2, int int3)
static void
mainaa(java.lang.String[] stringArray)
static void
mainServer()
static int
readInt(java.io.DataInputStream dataInputStream)
static long
readLong(java.io.DataInputStream dataInputStream)
static java.lang.String
ReadString(java.io.DataInputStream dataInputStream)
static java.lang.String
ReadString(java.nio.ByteBuffer byteBuffer)
static java.lang.String
ReadStringUTF(java.nio.ByteBuffer byteBuffer)
static void
render()
static void
run()
static void
runserver()
static void
save(boolean boolean1)
static void
save(boolean boolean1, boolean boolean2)
static void
savePlayer()
static void
setCacheDir(java.lang.String string)
static void
start()
static void
updateFPS(long long1)
static void
WriteString(java.io.DataOutputStream dataOutputStream, java.lang.String string)
static void
WriteString(java.nio.ByteBuffer byteBuffer, java.lang.String string)
static void
WriteStringUTF(java.nio.ByteBuffer byteBuffer, java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
GameInput
-
ActiveController
public static int ActiveController -
XLAxis
public static int XLAxis -
YLAxis
public static int YLAxis -
XRAxis
public static int XRAxis -
YRAxis
public static int YRAxis -
flipX
public static boolean flipX -
flipY
public static boolean flipY -
bFlipXY
public static boolean bFlipXY -
DEBUG_SAVE
public static boolean DEBUG_SAVE -
OkToSaveOnExit
public static boolean OkToSaveOnExit -
lastU
public static java.lang.String lastU -
lastP
public static java.lang.String lastP -
lastK
public static java.lang.String lastK -
GAME_TITLE
public static final java.lang.String GAME_TITLE- See Also:
- Constant Field Values
-
states
-
debugLine
-
bDrawMouse
public static boolean bDrawMouse -
bServerDisconnected
public static boolean bServerDisconnected -
bLoadedAsClient
public static boolean bLoadedAsClient -
kickReason
public static java.lang.String kickReason -
DrawReloadingLua
public static boolean DrawReloadingLua -
ActivatedJoyPad
-
DoFrame
public static boolean DoFrame -
version
public static java.lang.String version -
UpDownR
public static java.lang.String UpDownR -
LeftRightR
public static java.lang.String LeftRightR -
UpDown
public static java.lang.String UpDown -
LeftRight
public static java.lang.String LeftRight -
TriggerL
public static java.lang.String TriggerL -
average10
public static double average10 -
closeRequested
public static volatile boolean closeRequested -
averageFPS
public static float averageFPS
-
-
Constructor Details
-
GameWindow
public GameWindow()
-
-
Method Details
-
initApplet
public static void initApplet() throws java.lang.Exception- Throws:
java.lang.Exception
-
logic
public static void logic() -
render
public static void render() -
mainServer
public static void mainServer() -
mainaa
public static void mainaa(java.lang.String[] stringArray) throws java.lang.Exception- Throws:
java.lang.Exception
-
maina
public static void maina(boolean boolean1, int int1, int int2, int int3) throws java.lang.Exception- Throws:
java.lang.Exception
-
getTime
public static long getTime() -
getDelta
public int getDelta() -
start
public static void start() -
updateFPS
public static void updateFPS(long long1) -
readLong
public static long readLong(java.io.DataInputStream dataInputStream) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readInt
public static int readInt(java.io.DataInputStream dataInputStream) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
run
public static void run() -
runserver
public static void runserver() -
LoadTexturePack
-
LoadTexturePackDDS
public static void LoadTexturePackDDS(java.lang.String string) -
save
public static void save(boolean boolean1) throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
savePlayer
public static void savePlayer() -
save
public static void save(boolean boolean1, boolean boolean2) throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
setCacheDir
public static void setCacheDir(java.lang.String string) -
getCacheDir
public static java.lang.String getCacheDir() -
getSaveDir
public static java.lang.String getSaveDir() -
getCoopServerHome
public static java.lang.String getCoopServerHome() -
WriteString
public static void WriteString(java.nio.ByteBuffer byteBuffer, java.lang.String string) -
WriteStringUTF
public static void WriteStringUTF(java.nio.ByteBuffer byteBuffer, java.lang.String string) -
WriteString
public static void WriteString(java.io.DataOutputStream dataOutputStream, java.lang.String string) throws java.io.IOException- Throws:
java.io.IOException
-
ReadStringUTF
public static java.lang.String ReadStringUTF(java.nio.ByteBuffer byteBuffer) -
ReadString
public static java.lang.String ReadString(java.nio.ByteBuffer byteBuffer) -
ReadString
public static java.lang.String ReadString(java.io.DataInputStream dataInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
getGameModeCacheDir
public static java.lang.String getGameModeCacheDir() -
getScreenshotDir
public static java.lang.String getScreenshotDir() -
doRenderEvent
public static void doRenderEvent(boolean boolean1) -
DoLoadingText
public static void DoLoadingText(java.lang.String string) -
copyFolder
public static void copyFolder(java.io.File file, java.io.File file2) throws java.io.IOException- Throws:
java.io.IOException
-
copySaveDir
public static java.lang.String copySaveDir(java.lang.String string)
-