public class SpawnIfHasMore extends Effect
| Modifier and Type | Field and Description |
|---|---|
int |
itype |
int |
limit |
java.lang.String |
resource |
int |
resourceId |
int |
spend |
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 |
|---|
SpawnIfHasMore(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() |
calculatePixelPerfect, determineCollision, executeBatch, getCounter, getCounterElse, getScoreChange, parseParameters, setStochastic, sortBatchpublic int spend
public java.lang.String resource
public int resourceId
public int limit
public java.lang.String stype
public int itype
public SpawnIfHasMore(InteractionContent cnt) throws java.lang.Exception
java.lang.Exceptionpublic void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)
Effectpublic java.util.ArrayList<java.lang.String> getEffectSprites()
getEffectSprites in class Effect