public class TransformToRandomChild extends TransformTo
forceOrientation, itype, killSecond, stypeapplyScore, collision, count, countElse, counter, counterElse, enabled, hashCode, inBatch, is_kill_effect, is_stochastic, prob, repeat, scoreChange, sequential| Constructor and Description | 
|---|
| TransformToRandomChild(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 TransformToRandomChild(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