Class IsoSpriteInstance
java.lang.Object
zombie.iso.sprite.IsoSpriteInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
float
boolean
boolean
boolean
boolean
float
boolean
boolean
float
float
float
static final ObjectPool
<IsoSpriteInstance> float
float
float
float
float
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
add
(IsoSpriteInstance isoSpriteInstance) void
Dispose()
static IsoSpriteInstance
float
getAlpha()
float
getFrame()
int
getID()
getName()
float
float
float
float
getTintB()
float
getTintG()
float
getTintR()
boolean
boolean
boolean
void
render
(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2) void
render
(IsoObject isoObject, float float0, float float1, float float2, IsoDirections isoDirections, float float3, float float4, ColorInfo colorInfo, boolean boolean0) void
render
(IsoObject isoObject, float float0, float float1, float float2, IsoDirections isoDirections, float float3, float float4, ColorInfo colorInfo, boolean boolean0, Consumer<TextureDraw> consumer) void
RenderGhostTileColor
(int x, int y, int z, float r, float g, float b, float a) protected void
renderprep
(IsoObject isoObject) void
scaleAspect
(float texW, float texH, float width, float height) void
SetAlpha
(float f) void
setFrameSpeedPerFrame
(float perSecond) void
setScale
(float _scaleX, float _scaleY) void
SetTargetAlpha
(float _targetAlpha) void
update()
-
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 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 isoObject, float float0, float float1, float float2, IsoDirections isoDirections, float float3, float float4, ColorInfo colorInfo, boolean boolean0) -
render
public void render(IsoObject isoObject, float float0, float float1, float float2, IsoDirections isoDirections, float float3, float float4, ColorInfo colorInfo, boolean boolean0, Consumer<TextureDraw> consumer) -
SetAlpha
public void SetAlpha(float f) -
SetTargetAlpha
public void SetTargetAlpha(float _targetAlpha) -
update
public void update() -
renderprep
-
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
-