ontology.effects.binary

## Class KillIfOtherHasMore

- java.lang.Object
- - ontology.effects.Effect
  - - ontology.effects.binary.KillIfOtherHasMore

-     public class KillIfOtherHasMore
      extends Effect

  Created with IntelliJ IDEA. User: Diego Date: 04/11/13 Time: 15:57 This is a Java port from Tom Schaul's VGDL - https://github.com/schaul/py-vgdl

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `limit`
    `java.lang.String` | `resource`
    `int` | `resourceId`

    - ### Fields inherited from class ontology.effects.Effect

      `is_kill_effect, is_stochastic, scoreChange`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `KillIfOtherHasMore(InteractionContent cnt)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)`

    - ### Methods inherited from class ontology.effects.Effect

      `parseParameters`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### resource

          public java.lang.String resource

    - #### resourceId

          public int resourceId

    - #### limit

          public int limit

  - ### Constructor Detail

    - #### KillIfOtherHasMore

          public KillIfOtherHasMore(InteractionContent cnt)

  - ### Method Detail

    - #### execute

          public void execute(VGDLSprite sprite1,
                     VGDLSprite sprite2,
                     Game game)

      Specified by:
        `execute` in class `Effect`