Package zombie.iso.sprite
Class IsoSpriteInstance
java.lang.Object
zombie.iso.sprite.IsoSpriteInstance
public class IsoSpriteInstance
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
alpha
float
AnimFrameIncrease
boolean
bCopyTargetAlpha
boolean
Finished
boolean
Flip
float
Frame
boolean
Looped
boolean
NextFrame
float
offX
float
offY
float
offZ
IsoSprite
parentSprite
static java.util.Stack
pool
float
scaleX
float
scaleY
float
targetAlpha
float
tintb
float
tintg
float
tintr
-
Constructor Summary
Constructors Constructor Description IsoSpriteInstance()
IsoSpriteInstance(IsoSprite sprite)
-
Method Summary
Modifier and Type Method Description static void
add(IsoSpriteInstance spriteInstance)
void
Dispose()
static IsoSpriteInstance
get(IsoSprite sprite)
float
getFrame()
int
getFrameCount()
int
getID()
java.lang.String
getName()
IsoSprite
getParentSprite()
float
getScaleX()
float
getScaleY()
boolean
isFinished()
void
render(IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo)
void
RenderGhostTileColor(int int1, int int2, int int3, float float1, float float2, float float3, float float4)
protected void
renderprep(IsoObject object)
void
scaleAspect(float float1, float float2, float float3, float float4)
void
SetAlpha(float float1)
void
setFrameSpeedPerFrame(float float1)
void
setScale(float float1, float float2)
void
SetTargetAlpha(float float1)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
pool
public static java.util.Stack pool -
parentSprite
-
tintb
public float tintb -
tintg
public float tintg -
tintr
public float tintr -
Frame
public float Frame -
alpha
public float alpha -
targetAlpha
public float targetAlpha -
bCopyTargetAlpha
public boolean bCopyTargetAlpha -
Flip
public boolean Flip -
offZ
public float offZ -
offX
public float offX -
offY
public float offY -
AnimFrameIncrease
public float AnimFrameIncrease -
Looped
public boolean Looped -
Finished
public boolean Finished -
NextFrame
public boolean NextFrame -
scaleX
public float scaleX -
scaleY
public float scaleY
-
-
Constructor Details
-
IsoSpriteInstance
public IsoSpriteInstance() -
IsoSpriteInstance
-
-
Method Details
-
get
-
setFrameSpeedPerFrame
public void setFrameSpeedPerFrame(float float1) -
getID
public int getID() -
getName
public java.lang.String getName() -
getParentSprite
-
render
public void render(IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo) -
SetAlpha
public void SetAlpha(float float1) -
SetTargetAlpha
public void SetTargetAlpha(float float1) -
update
public void update() -
renderprep
-
getFrame
public float getFrame() -
getFrameCount
public int getFrameCount() -
isFinished
public boolean isFinished() -
Dispose
public void Dispose() -
RenderGhostTileColor
public void RenderGhostTileColor(int int1, int int2, int int3, float float1, float float2, float float3, float float4) -
setScale
public void setScale(float float1, float float2) -
getScaleX
public float getScaleX() -
getScaleY
public float getScaleY() -
scaleAspect
public void scaleAspect(float float1, float float2, float float3, float float4) -
add
-