Class IsoCamera
java.lang.Object
zombie.iso.IsoCamera
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlayerCamera[]
static final IsoCamera.FrameState
static int
static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static IsoGameCharacter
static float
static float
static float
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 float
static float
static int
getScreenHeight
(int playerIndex) static int
getScreenLeft
(int playerIndex) static int
getScreenTop
(int playerIndex) static int
getScreenWidth
(int playerIndex) static int
static float
getTOffX()
static float
getTOffY()
static void
init()
static boolean
setCameraCharacter
(IsoGameCharacter isoGameCharacter) static void
SetCharacterToFollow
(IsoGameCharacter GameChar) static void
setLastOffX
(float aLastOffX) static void
setLastOffY
(float aLastOffY) static void
setOffX
(float aOffX) static void
setOffY
(float aOffY) static void
setTargetTileY
(int aTargetTileY) static void
update()
static void
-
Field Details
-
frameState
-
cameras
-
PLAYER_OFFSET_X
public static int PLAYER_OFFSET_X -
PLAYER_OFFSET_Y
public static int PLAYER_OFFSET_Y
-
-
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()- Returns:
- the OffX
-
getTOffX
public static float getTOffX() -
setOffX
public static void setOffX(float aOffX) -
getOffY
public static float getOffY()- Returns:
- the OffY
-
getTOffY
public static float getTOffY() -
setOffY
public static void setOffY(float aOffY) -
getLastOffX
public static float getLastOffX()- Returns:
- the lastOffX
-
setLastOffX
public static void setLastOffX(float aLastOffX) -
getLastOffY
public static float getLastOffY()- Returns:
- the lastOffY
-
setLastOffY
public static void setLastOffY(float aLastOffY) -
getCameraCharacter
-
getCameraCharacterZ
public static float getCameraCharacterZ() -
setCameraCharacter
-
clearCameraCharacter
public static void clearCameraCharacter() -
getTargetTileY
public static int getTargetTileY()- Returns:
- the TargetTileY
-
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)
-