Class IngameState
java.lang.Object
zombie.gameStates.GameState
zombie.gameStates.IngameState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic floatstatic floatstatic IngameStatestatic booleanlongbooleanfloatbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyDirectory(File sourceLocation, File targetLocation) static voidstatic voidcreateWorld(String worldName) voiddebugFullyStreamedIn(int squareX, int squareY) voidenter()voidexit()static floatinvTranslatePointX(float x, float camX, float zoom, float offx) static floatinvTranslatePointY(float y, float camY, float zoom, float offy) voidreenter()voidrender()static voidrenderDebugOverhead(IsoCell cell, int drawFloor, int tilew, int offx, int offy) static voidrenderDebugOverhead2(IsoCell cell, int drawFloor, float zoom, int offx, int offy, float xPos, float yPos, int draww, int drawh) voidrenderframe(int nPlayer) voidrenderframetext(int nPlayer) voidstatic voidrenderLine(float x1, float y1, float x2, float y2, float r, float g, float b, float a) static voidrenderRect(float x, float y, float w, float h, float r, float g, float b, float a) static floattranslatePointX(float x, float camX, float zoom, float offx) static floattranslatePointY(float y, float camY, float zoom, float offy) update()voidvoidyield()
-
Field Details
-
waitMul
public static int waitMul -
instance
-
draww
public static float draww -
drawh
public static float drawh -
numberTicks
public long numberTicks -
paused
public boolean paused -
saveDelay
public float saveDelay -
showAnimationViewer
public boolean showAnimationViewer -
showAttachmentEditor
public boolean showAttachmentEditor -
showChunkDebugger
public boolean showChunkDebugger -
showSpriteModelEditor
public boolean showSpriteModelEditor -
showTileGeometryEditor
public boolean showTileGeometryEditor -
showGlobalObjectDebugger
public boolean showGlobalObjectDebugger -
showVehicleEditor
-
showWorldMapEditor
-
showSeamEditor
public boolean showSeamEditor -
loading
public static boolean loading
-
-
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
-
exit
-
yield
-
redirectState
- Overrides:
redirectStatein classGameState
-
reenter
-
renderframetext
public void renderframetext(int nPlayer) -
renderframe
public void renderframe(int nPlayer) -
renderframeui
public void renderframeui() -
render
-
update
-