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
float
targetAlpha
float
tintb
float
tintg
float
tintr
-
Constructor Summary
Constructors Constructor Description IsoSpriteInstance()
IsoSpriteInstance(IsoSprite spr)
-
Method Summary
Modifier and Type Method Description void
Dispose()
float
getFrame()
int
getFrameCount()
int
getID()
java.lang.String
getName()
IsoSprite
getParentSprite()
float
getScaleX()
float
getScaleY()
void
render(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2)
void
RenderGhostTileColor(int x, int y, int z, float r, float g, float b, float a)
protected void
renderprep(IsoObject obj)
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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
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
-
-
Constructor Details
-
IsoSpriteInstance
public IsoSpriteInstance() -
IsoSpriteInstance
-
-
Method Details
-
setFrameSpeedPerFrame
public void setFrameSpeedPerFrame(float perSecond) -
getID
public int getID() -
getName
public java.lang.String getName() -
getParentSprite
-
render
public void render(IsoObject obj, float x, float y, float z, IsoDirections dir, float offsetX, float offsetY, ColorInfo info2) -
SetAlpha
public void SetAlpha(float f) -
SetTargetAlpha
public void SetTargetAlpha(float targetAlpha) -
update
public void update() -
renderprep
-
getFrame
public float getFrame() -
getFrameCount
public int getFrameCount() -
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)
-