Class OnCharacterCollideEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnCharacterCollideEvent

public abstract class OnCharacterCollideEvent extends Event
Triggered when two characters collide together.
  • Constructor Details

    • OnCharacterCollideEvent

      public OnCharacterCollideEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.characters.IsoGameCharacter player, zombie.characters.IsoGameCharacter character)
      Called Event Handling Method
      Parameters:
      player - The character who's colliding with another character.
      character - The character who's being collided with.