public class AddTimer extends TimeEffect
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
ftype |
Effect |
timerDelegate |
delegate, isNative, itype, nextExecution, repeating, timerapplyScore, collision, count, countElse, counter, counterElse, enabled, hashCode, inBatch, is_kill_effect, is_stochastic, prob, repeat, scoreChange, sequential| Constructor and Description |
|---|
AddTimer() |
AddTimer(InteractionContent cnt) |
| Modifier and Type | Method and Description |
|---|---|
TimeEffect |
copy() |
void |
copyTo(TimeEffect adT) |
void |
execute(VGDLSprite sprite1,
VGDLSprite sprite2,
Game game)
Executes the effect
|
compareTo, planExecutioncalculatePixelPerfect, determineCollision, executeBatch, getCounter, getCounterElse, getEffectSprites, getScoreChange, parseParameters, setStochastic, sortBatchpublic java.lang.String ftype
public Effect timerDelegate
public AddTimer()
public AddTimer(InteractionContent cnt) throws java.lang.Exception
java.lang.Exceptionpublic void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)
TimeEffectexecute in class TimeEffectsprite1 - first sprite of the collisionsprite2 - second sprite of the collisiongame - reference to the game object with the current state.public TimeEffect copy()
copy in class TimeEffectpublic void copyTo(TimeEffect adT)
copyTo in class TimeEffect