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 PlayerCamera[]
cameras
static Vector2
FakePos
static Vector2
FakePosVec
static IsoCamera.FrameState
frameState
static int
PLAYER_OFFSET_X
static int
PLAYER_OFFSET_Y
static int
TargetTileX
static int
TargetTileY
-
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 int1)
static int
getOffscreenLeft(int int1)
static int
getOffscreenTop(int int1)
static int
getOffscreenWidth(int int1)
static float
getOffX()
static float
getOffY()
static float
getRightClickOffX()
static float
getRightClickOffY()
static int
getScreenHeight(int int1)
static int
getScreenLeft(int int1)
static int
getScreenTop(int int1)
static int
getScreenWidth(int int1)
static int
getTargetTileX()
static int
getTargetTileY()
static float
getTOffX()
static float
getTOffY()
static void
init()
static void
setCamCharacter(IsoGameCharacter gameCharacter)
static void
SetCharacterToFollow(IsoGameCharacter gameCharacter)
static void
setFakePos(Vector2 vector2)
static void
setFakePosVec(Vector2 vector2)
static void
setLastOffX(float float1)
static void
setLastOffY(float float1)
static void
setOffX(float float1)
static void
setOffY(float float1)
static void
setTargetTileX(int int1)
static void
setTargetTileY(int int1)
static void
update()
static void
updateAll()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
cameras
-
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 -
frameState
-
-
Constructor Details
-
IsoCamera
public IsoCamera()
-
-
Method Details
-
init
public static void init() -
update
public static void update() -
updateAll
public static void updateAll() -
SetCharacterToFollow
-
getRightClickOffX
public static float getRightClickOffX() -
getRightClickOffY
public static float getRightClickOffY() -
getOffX
public static float getOffX() -
getTOffX
public static float getTOffX() -
setOffX
public static void setOffX(float float1) -
getOffY
public static float getOffY() -
getTOffY
public static float getTOffY() -
setOffY
public static void setOffY(float float1) -
getLastOffX
public static float getLastOffX() -
setLastOffX
public static void setLastOffX(float float1) -
getLastOffY
public static float getLastOffY() -
setLastOffY
public static void setLastOffY(float float1) -
getCamCharacter
-
setCamCharacter
-
getFakePos
-
setFakePos
-
getFakePosVec
-
setFakePosVec
-
getTargetTileX
public static int getTargetTileX() -
setTargetTileX
public static void setTargetTileX(int int1) -
getTargetTileY
public static int getTargetTileY() -
setTargetTileY
public static void setTargetTileY(int int1) -
getScreenLeft
public static int getScreenLeft(int int1) -
getScreenWidth
public static int getScreenWidth(int int1) -
getScreenTop
public static int getScreenTop(int int1) -
getScreenHeight
public static int getScreenHeight(int int1) -
getOffscreenLeft
public static int getOffscreenLeft(int int1) -
getOffscreenWidth
public static int getOffscreenWidth(int int1) -
getOffscreenTop
public static int getOffscreenTop(int int1) -
getOffscreenHeight
public static int getOffscreenHeight(int int1)
-