Package zombie.iso.sprite
Class IsoSpriteInstance
java.lang.Object
zombie.iso.sprite.IsoSpriteInstance
public final class IsoSpriteInstance
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
alpha
float
AnimFrameIncrease
boolean
bCopyTargetAlpha
boolean
bMultiplyObjectAlpha
boolean
Finished
boolean
Flip
float
Frame
boolean
Looped
boolean
NextFrame
float
offX
float
offY
float
offZ
IsoSprite
parentSprite
static ObjectPool
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
getAlpha()
float
getFrame()
int
getID()
java.lang.String
getName()
IsoSprite
getParentSprite()
float
getScaleX()
float
getScaleY()
float
getTargetAlpha()
float
getTintB()
float
getTintG()
float
getTintR()
boolean
isCopyTargetAlpha()
boolean
isFinished()
boolean
isMultiplyObjectAlpha()
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
-
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 -
bMultiplyObjectAlpha
public boolean bMultiplyObjectAlpha -
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
-
getTintR
public float getTintR() -
getTintG
public float getTintG() -
getTintB
public float getTintB() -
getAlpha
public float getAlpha() -
getTargetAlpha
public float getTargetAlpha() -
isCopyTargetAlpha
public boolean isCopyTargetAlpha() -
isMultiplyObjectAlpha
public boolean isMultiplyObjectAlpha() -
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() -
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
-