Package zombie

Class GameWindow

java.lang.Object
zombie.GameWindow

public class GameWindow
extends java.lang.Object
  • Field Details

    • GameInput

      public static Input 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

      public static GameStateMachine states
    • debugLine

      public static LineDrawer 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

      public static JoypadManager.Joypad 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
    • initShared

      public static void initShared() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • initSharedServer

      @Deprecated public static void initSharedServer() throws java.lang.Exception
      Deprecated.
      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

      public static TexturePackPage LoadTexturePack​(java.lang.String string)
    • 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)