public class SubtractHealthPoints extends Effect
Modifier and Type | Field and Description |
---|---|
int |
itype |
int |
limit |
java.lang.String |
scoreChangeIfKilled |
java.lang.String |
stype |
int |
value |
applyScore, collision, count, countElse, counter, counterElse, enabled, hashCode, inBatch, is_kill_effect, is_stochastic, prob, repeat, scoreChange, sequential
Constructor and Description |
---|
SubtractHealthPoints(InteractionContent cnt) |
Modifier and Type | Method and Description |
---|---|
void |
execute(VGDLSprite sprite1,
VGDLSprite sprite2,
Game game)
Executes the effect
|
calculatePixelPerfect, determineCollision, executeBatch, getCounter, getCounterElse, getEffectSprites, getScoreChange, parseParameters, setStochastic, sortBatch
public int value
public java.lang.String stype
public int itype
public int limit
public java.lang.String scoreChangeIfKilled
public SubtractHealthPoints(InteractionContent cnt) throws java.lang.Exception
java.lang.Exception
public void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)
Effect