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, stypeapplyScore, 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() |
transformTocalculatePixelPerfect, determineCollision, executeBatch, getCounter, getCounterElse, getScoreChange, parseParameters, setStochastic, sortBatchpublic 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.Exceptionpublic void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)
Effectexecute in class TransformTosprite1 - 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