Class IngameState

java.lang.Object
zombie.gameStates.GameState
zombie.gameStates.IngameState

public class IngameState
extends GameState
  • Field Details

    • DebugPathfinding

      public static boolean DebugPathfinding
    • AlwaysDebugPathfinding

      public static boolean AlwaysDebugPathfinding
    • WaitMul

      public static int WaitMul
    • instance

      public static IngameState instance
    • numberTicks

      public long numberTicks
    • Paused

      public boolean Paused
    • SaveDelay

      public float SaveDelay
    • draww

      public static float draww
    • drawh

      public static float drawh
    • GameID

      public static java.lang.Long GameID
    • Frames

      public static java.util.ArrayList Frames
  • Constructor Details

    • IngameState

      public IngameState()
  • Method Details

    • renderDebugOverhead

      public static void renderDebugOverhead​(IsoCell cell, int drawFloor, int tilew, int offx, int offy)
    • translatePointX

      public static float translatePointX​(float x, float camX, float zoom, float offx)
    • invTranslatePointX

      public static float invTranslatePointX​(float x, float camX, float zoom, float offx)
    • invTranslatePointY

      public static float invTranslatePointY​(float y, float camY, float zoom, float offy)
    • translatePointY

      public static float translatePointY​(float y, float camY, float zoom, float offy)
    • translatePointX

      public static float translatePointX​(float x)
    • translatePointY

      public static float translatePointY​(float y)
    • renderRect

      public static void renderRect​(float x, float y, float w, float h, float r, float g, float b, float a)
    • renderLine

      public static void renderLine​(float x1, float y1, float x2, float y2, float r, float g, float b, float a)
    • renderDebugOverhead2

      public static void renderDebugOverhead2​(IsoCell cell, int drawFloor, float zoom, int offx, int offy, float xPos, float yPos, int draww, int drawh)
    • debugFullyStreamedIn

      public void debugFullyStreamedIn​(int squareX, int squareY)
    • UpdateStuff

      public void UpdateStuff()
    • enter

      public void enter()
      Overrides:
      enter in class GameState
    • exit

      public void exit()
      Overrides:
      exit in class GameState
    • redirectState

      public GameState redirectState()
      Overrides:
      redirectState in class GameState
    • reenter

      public void reenter()
      Overrides:
      reenter in class GameState
    • FadeIn

      public void FadeIn​(int seconds)
    • FadeOut

      public void FadeOut​(int seconds)
    • renderframetext

      public void renderframetext​(int nPlayer)
    • renderframe

      public void renderframe​(int nPlayer)
    • renderframeui

      public void renderframeui()
    • render

      public void render()
      Overrides:
      render in class GameState
    • StartMusic

      public void StartMusic()
    • StartMusic

      public void StartMusic​(java.lang.String filename)
    • update

      Overrides:
      update in class GameState
    • copyWorld

      public static void copyWorld​(java.lang.String src, java.lang.String dest)
    • copyDirectory

      public static void copyDirectory​(java.io.File sourceLocation, java.io.File targetLocation) throws java.io.IOException
      Throws:
      java.io.IOException
    • createWorld

      public static void createWorld​(java.lang.String worldName)