1package com.fs.starfarer.api.impl.campaign.eventide;
4import java.util.LinkedHashMap;
7import org.lwjgl.util.vector.Vector2f;
9import com.fs.starfarer.api.Global;
10import com.fs.starfarer.api.graphics.SpriteAPI;
17 public Vector2f
loc =
new Vector2f();
24 public Map<String, String>
actionRemap1 =
new LinkedHashMap<String, String>();
25 public Map<String, String>
actionRemap2 =
new LinkedHashMap<String, String>();
43 currAction.makeCurrentFrameLast =
true;
58 if (mult ==
null) mult = 1f;
81 public void doAction(String action,
boolean forceInterruptCurrent) {
85 forceInterruptCurrent =
true;
87 forceInterruptCurrent =
true;
97 if (forceInterruptCurrent) {
114 boolean renderShadow =
true;
115 renderShadow =
false;
121 shadow.setNormalBlend();
122 shadow.setColor(Color.black);
124 float sw = currAction.curr.width * 1.25f;
126 sw = 200 + (sw - 200) * 0.33f;
128 shadow.setSize(sw, 40f);
130 shadow.setAlphaMult(0.5f);
static SettingsAPI getSettings()
static final String ATTACK
static final String RIPOSTE
void endCurrentAnimation()
CharAnimFrame getCurrentFrame()
void render(float alphaMult)
void doAction(String action, boolean forceInterruptCurrent)
void advance(float amount)
Map< String, String > actionRemap2
Map< String, Float > actionSpeedMult
Map< String, String > actionRemap1
void advance(float amount)
void render(float alphaMult)
List< HitArea > hittableArea
Set< String > interruptableBy
HitArea getAdjustedForAction(AnimAction action)
SpriteAPI getSprite(String filename)