Class IngameState
java.lang.Object
zombie.gameStates.GameState
zombie.gameStates.IngameState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
static float
static float
static Long
static IngameState
long
boolean
float
boolean
boolean
boolean
boolean
boolean
boolean
boolean
static int
-
Constructor Summary
Constructors -
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 -
showSpriteModelEditor
public boolean showSpriteModelEditor -
showTileGeometryEditor
public boolean showTileGeometryEditor -
showGlobalObjectDebugger
public boolean showGlobalObjectDebugger -
showVehicleEditor
-
showWorldMapEditor
-
showSeamEditor
public boolean showSeamEditor -
bLoading
public static boolean bLoading
-
-
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) -
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:
redirectState
in classGameState
-
reenter
-
renderframetext
public void renderframetext(int nPlayer) -
renderframe
public void renderframe(int nPlayer) -
renderframeui
public void renderframeui() -
render
-
update
-