public class TransformToAll extends TransformTo
Modifier and Type | Field and Description |
---|---|
int |
itypeTo |
java.lang.String |
stypeTo |
forceOrientation, itype, killSecond, stype
applyScore, collision, count, countElse, counter, counterElse, enabled, hashCode, inBatch, is_kill_effect, is_stochastic, prob, repeat, scoreChange, sequential
Constructor and Description |
---|
TransformToAll(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() |
transformTo
calculatePixelPerfect, determineCollision, executeBatch, getCounter, getCounterElse, getScoreChange, parseParameters, setStochastic, sortBatch
public TransformToAll(InteractionContent cnt) throws java.lang.Exception
java.lang.Exception
public void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)
Effect
execute
in class TransformTo
sprite1
- first sprite of the collisionsprite2
- second sprite of the collisiongame
- reference to the game object with the current state.public java.util.ArrayList<java.lang.String> getEffectSprites()
getEffectSprites
in class TransformTo