Package zombie.gameStates
Class IngameState
java.lang.Object
zombie.gameStates.GameState
zombie.gameStates.IngameState
-
Field Summary
Modifier and TypeFieldDescriptionstatic float
static float
static Long
static IngameState
long
boolean
float
boolean
boolean
boolean
boolean
static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyDirectory
(File sourceLocation, File targetLocation) static void
static void
createWorld
(String worldName) void
debugFullyStreamedIn
(int squareX, int squareY) void
enter()
void
exit()
static float
invTranslatePointX
(float x, float camX, float zoom, float offx) static float
invTranslatePointY
(float y, float camY, float zoom, float offy) void
reenter()
void
render()
static void
renderDebugOverhead
(IsoCell cell, int drawFloor, int tilew, int offx, int offy) static void
renderDebugOverhead2
(IsoCell cell, int drawFloor, float zoom, int offx, int offy, float xPos, float yPos, int draww, int drawh) void
renderframe
(int nPlayer) void
renderframetext
(int nPlayer) void
static void
renderLine
(float x1, float y1, float x2, float y2, float r, float g, float b, float a) static void
renderRect
(float x, float y, float w, float h, float r, float g, float b, float a) static float
translatePointX
(float x, float camX, float zoom, float offx) static float
translatePointY
(float y, float camY, float zoom, float offy) update()
void
void
yield()
-
Field Details
-
WaitMul
public static int WaitMul -
instance
-
draww
public static float draww -
drawh
public static float drawh -
GameID
-
numberTicks
public long numberTicks -
Paused
public boolean Paused -
SaveDelay
public float SaveDelay -
showAnimationViewer
public boolean showAnimationViewer -
showAttachmentEditor
public boolean showAttachmentEditor -
showChunkDebugger
public boolean showChunkDebugger -
showGlobalObjectDebugger
public boolean showGlobalObjectDebugger -
showVehicleEditor
-
showWorldMapEditor
-
-
Constructor Details
-
IngameState
public IngameState()
-
-
Method Details
-
renderDebugOverhead
-
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) -
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) -
copyWorld
-
copyDirectory
- Throws:
IOException
-
createWorld
-
debugFullyStreamedIn
public void debugFullyStreamedIn(int squareX, int squareY) -
UpdateStuff
public void UpdateStuff() -
enter
public void enter() -
exit
public void exit() -
yield
public void yield() -
redirectState
- Overrides:
redirectState
in classGameState
-
reenter
public void reenter() -
renderframetext
public void renderframetext(int nPlayer) -
renderframe
public void renderframe(int nPlayer) -
renderframeui
public void renderframeui() -
render
public void render() -
update
-