Package zombie.iso
Class IsoCamera
java.lang.Object
zombie.iso.IsoCamera
public class IsoCamera
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoCamera.FrameState
-
Field Summary
Fields Modifier and Type Field Description static IsoGameCharacter
CamCharacter
static float
DeferedSX
static float
DeferedSY
static float[]
DeferedX
static float[]
DeferedY
static Vector2
FakePos
static Vector2
FakePosVec
static IsoCamera.FrameState
frameState
static float[]
lastOffX
static float[]
lastOffY
static Vector2
offVec
static float[]
OffX
static float[]
OffY
static int
PLAYER_OFFSET_X
static int
PLAYER_OFFSET_Y
static float[]
RightClickTargetX
static float[]
RightClickTargetY
static float[]
RightClickX
static float[]
RightClickY
static int
TargetTileX
static int
TargetTileY
static float[]
TOffX
static float[]
TOffY
static float
WorldZoom
-
Constructor Summary
Constructors Constructor Description IsoCamera()
-
Method Summary
Modifier and Type Method Description static IsoGameCharacter
getCamCharacter()
static Vector2
getFakePos()
static Vector2
getFakePosVec()
static float
getLastOffX()
static float
getLastOffY()
static int
getOffscreenHeight(int playerIndex)
static int
getOffscreenLeft(int playerIndex)
static int
getOffscreenTop(int playerIndex)
static int
getOffscreenWidth(int playerIndex)
static float
getOffX()
static float
getOffY()
static int
getScreenHeight(int playerIndex)
static int
getScreenLeft(int playerIndex)
static int
getScreenTop(int playerIndex)
static int
getScreenWidth(int playerIndex)
static int
getTargetTileX()
static int
getTargetTileY()
static void
init()
static void
setCamCharacter(IsoGameCharacter aCamCharacter)
static void
SetCharacterToFollow(IsoGameCharacter GameChar)
static void
setFakePos(Vector2 aFakePos)
static void
setFakePosVec(Vector2 aFakePosVec)
static void
setLastOffX(float aLastOffX)
static void
setLastOffY(float aLastOffY)
static void
setOffX(float aOffX)
static void
setOffY(float aOffY)
static void
setTargetTileX(int aTargetTileX)
static void
setTargetTileY(int aTargetTileY)
static void
update()
static void
updateDemo()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
OffX
public static float[] OffX -
OffY
public static float[] OffY -
TOffX
public static float[] TOffX -
TOffY
public static float[] TOffY -
lastOffX
public static float[] lastOffX -
lastOffY
public static float[] lastOffY -
RightClickTargetX
public static float[] RightClickTargetX -
RightClickTargetY
public static float[] RightClickTargetY -
RightClickX
public static float[] RightClickX -
RightClickY
public static float[] RightClickY -
DeferedX
public static float[] DeferedX -
DeferedY
public static float[] DeferedY -
DeferedSX
public static float DeferedSX -
DeferedSY
public static float DeferedSY -
WorldZoom
public static float WorldZoom -
CamCharacter
-
FakePos
-
FakePosVec
-
TargetTileX
public static int TargetTileX -
TargetTileY
public static int TargetTileY -
PLAYER_OFFSET_X
public static int PLAYER_OFFSET_X -
PLAYER_OFFSET_Y
public static int PLAYER_OFFSET_Y -
offVec
-
frameState
-
-
Constructor Details
-
IsoCamera
public IsoCamera()
-
-
Method Details
-
init
public static void init() -
update
public static void update() -
updateDemo
public static void updateDemo() -
SetCharacterToFollow
-
getOffX
public static float getOffX() -
setOffX
public static void setOffX(float aOffX) -
getOffY
public static float getOffY() -
setOffY
public static void setOffY(float aOffY) -
getLastOffX
public static float getLastOffX() -
setLastOffX
public static void setLastOffX(float aLastOffX) -
getLastOffY
public static float getLastOffY() -
setLastOffY
public static void setLastOffY(float aLastOffY) -
getCamCharacter
-
setCamCharacter
-
getFakePos
-
setFakePos
-
getFakePosVec
-
setFakePosVec
-
getTargetTileX
public static int getTargetTileX() -
setTargetTileX
public static void setTargetTileX(int aTargetTileX) -
getTargetTileY
public static int getTargetTileY() -
setTargetTileY
public static void setTargetTileY(int aTargetTileY) -
getScreenLeft
public static int getScreenLeft(int playerIndex) -
getScreenWidth
public static int getScreenWidth(int playerIndex) -
getScreenTop
public static int getScreenTop(int playerIndex) -
getScreenHeight
public static int getScreenHeight(int playerIndex) -
getOffscreenLeft
public static int getOffscreenLeft(int playerIndex) -
getOffscreenWidth
public static int getOffscreenWidth(int playerIndex) -
getOffscreenTop
public static int getOffscreenTop(int playerIndex) -
getOffscreenHeight
public static int getOffscreenHeight(int playerIndex)
-