Class IsoSpriteInstance
java.lang.Object
zombie.iso.sprite.IsoSpriteInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatbooleanbooleanbooleanfloatbooleanbooleanbooleanfloatfloatfloatstatic final ObjectPool<IsoSpriteInstance> floatfloatfloatfloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(IsoSpriteInstance isoSpriteInstance) voidDispose()static IsoSpriteInstancefloatgetAlpha()floatgetFrame()intgetID()getName()floatfloatfloatfloatgetTintB()floatgetTintG()floatgetTintR()booleanbooleanbooleanvoidrender(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2) voidrender(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2, boolean bDoRenderPrep) voidrender(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2, boolean bDoRenderPrep, Consumer<TextureDraw> texdModifier) voidRenderGhostTileColor(int x, int y, int z, float r, float g, float b, float a) voidscaleAspect(float texW, float texH, float width, float height) voidSetAlpha(float f) voidsetFrameSpeedPerFrame(float perSecond) voidsetScale(float scaleX, float scaleY) voidSetTargetAlpha(float targetAlpha) voidupdate()
-
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 -
copyTargetAlpha
public boolean copyTargetAlpha -
multiplyObjectAlpha
public boolean multiplyObjectAlpha -
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 perSecond) -
getID
public int getID() -
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 obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2) -
render
public void render(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2, boolean bDoRenderPrep) -
render
public void render(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2, boolean bDoRenderPrep, Consumer<TextureDraw> texdModifier) -
SetAlpha
public void SetAlpha(float f) -
SetTargetAlpha
public void SetTargetAlpha(float targetAlpha) -
update
public void update() -
getFrame
public float getFrame() -
isFinished
public boolean isFinished() -
Dispose
public void Dispose() -
RenderGhostTileColor
public void RenderGhostTileColor(int x, int y, int z, float r, float g, float b, float a) -
setScale
public void setScale(float scaleX, float scaleY) -
getScaleX
public float getScaleX() -
getScaleY
public float getScaleY() -
scaleAspect
public void scaleAspect(float texW, float texH, float width, float height) -
add
-