public class TransformTo extends Effect
| Modifier and Type | Field and Description |
|---|---|
boolean |
forceOrientation |
int |
itype |
boolean |
killSecond |
java.lang.String |
stype |
applyScore, collision, count, countElse, counter, counterElse, enabled, hashCode, inBatch, is_kill_effect, is_stochastic, prob, repeat, scoreChange, sequential| Constructor and Description |
|---|
TransformTo(InteractionContent cnt) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(VGDLSprite sprite1,
VGDLSprite sprite2,
Game game)
Executes the effect
|
java.util.ArrayList<java.lang.String> |
getEffectSprites() |
protected void |
transformTo(VGDLSprite newSprite,
VGDLSprite sprite1,
VGDLSprite sprite2,
Game game) |
calculatePixelPerfect, determineCollision, executeBatch, getCounter, getCounterElse, getScoreChange, parseParameters, setStochastic, sortBatchpublic java.lang.String stype
public int itype
public boolean killSecond
public boolean forceOrientation
public TransformTo(InteractionContent cnt) throws java.lang.Exception
java.lang.Exceptionpublic void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)
Effectprotected void transformTo(VGDLSprite newSprite, VGDLSprite sprite1, VGDLSprite sprite2, Game game)
public java.util.ArrayList<java.lang.String> getEffectSprites()
getEffectSprites in class Effect