public class TransformIfCount extends TransformTo
Modifier and Type | Field and Description |
---|---|
int |
eitype |
java.lang.String |
estype |
int |
geq |
int |
itypeCount |
int |
leq |
java.lang.String |
stypeCount |
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 |
---|
TransformIfCount(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 java.lang.String stypeCount
public int itypeCount
public java.lang.String estype
public int eitype
public int geq
public int leq
public TransformIfCount(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