Class CharAnim
java.lang.Object
com.fs.starfarer.api.impl.campaign.eventide.CharAnim
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
org.lwjgl.util.vector.Vector2f
float
float
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFrame
(float y, float frameWidth, float dur) clone()
float
boolean
boolean
void
interruptableBy
(String... actions) void
void
skip
(float frameWidth) void
void
updateTextureScale
(float scale)
-
Field Details
-
textureId
-
sprite
-
scale
public float scale -
frameHeight
public float frameHeight -
widthSoFar
public float widthSoFar -
totalTime
public float totalTime -
frames
-
last
-
initialRelativeOffset
-
moveToIdle
public org.lwjgl.util.vector.Vector2f moveToIdle -
action
-
interruptableBy
-
-
Constructor Details
-
CharAnim
-
-
Method Details
-
clone
-
removeFirstFrame
public void removeFirstFrame() -
hasBlockFrames
public boolean hasBlockFrames() -
hasAttackFrames
public boolean hasAttackFrames() -
interruptableBy
-
skip
-
skip
public void skip(float frameWidth) -
addFrame
public void addFrame(float y, float frameWidth, float dur) -
getTotalTime
public float getTotalTime() -
updateTextureScale
public void updateTextureScale(float scale)
-