Package zombie.iso
Class PlayerCamera
java.lang.Object
zombie.iso.PlayerCamera
public final class PlayerCamera
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
DeferedX
float
DeferedY
float
lastOffX
float
lastOffY
int
OffscreenHeight
int
OffscreenWidth
float
OffX
float
OffY
int
playerIndex
float
RightClickTargetX
float
RightClickTargetY
float
RightClickX
float
RightClickY
float
TOffX
float
TOffY
float
zoom
-
Constructor Summary
Constructors Constructor Description PlayerCamera(int int1)
-
Method Summary
Modifier and Type Method Description void
center()
void
copyFrom(PlayerCamera playerCamera)
float
getLastOffX()
float
getLastOffY()
float
getOffX()
float
getOffY()
float
getTOffX()
float
getTOffY()
void
initFromIsoCamera(int int1)
void
update()
float
XToIso(float float1, float float2, float float3)
float
XToScreenExact(float float1, float float2, float float3, int int1)
float
YToIso(float float1, float float2, float float3)
float
YToScreenExact(float float1, float float2, float float3, int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
playerIndex
public final int playerIndex -
OffX
public float OffX -
OffY
public float OffY -
TOffX
public float TOffX -
TOffY
public float TOffY -
lastOffX
public float lastOffX -
lastOffY
public float lastOffY -
RightClickTargetX
public float RightClickTargetX -
RightClickTargetY
public float RightClickTargetY -
RightClickX
public float RightClickX -
RightClickY
public float RightClickY -
DeferedX
public float DeferedX -
DeferedY
public float DeferedY -
zoom
public float zoom -
OffscreenWidth
public int OffscreenWidth -
OffscreenHeight
public int OffscreenHeight
-
-
Constructor Details
-
PlayerCamera
public PlayerCamera(int int1)
-
-
Method Details
-
center
public void center() -
update
public void update() -
getOffX
public float getOffX() -
getOffY
public float getOffY() -
getTOffX
public float getTOffX() -
getTOffY
public float getTOffY() -
getLastOffX
public float getLastOffX() -
getLastOffY
public float getLastOffY() -
XToIso
public float XToIso(float float1, float float2, float float3) -
YToIso
public float YToIso(float float1, float float2, float float3) -
YToScreenExact
public float YToScreenExact(float float1, float float2, float float3, int int1) -
XToScreenExact
public float XToScreenExact(float float1, float float2, float float3, int int1) -
copyFrom
-
initFromIsoCamera
public void initFromIsoCamera(int int1)
-