Package com.avrix.events
Class OnObjectCollideEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnObjectCollideEvent
Triggered when a character collides with an object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.characters.IsoZombie door) Called Event Handling Methodabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.iso.IsoGridSquare door) Called Event Handling Methodabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.iso.objects.IsoDoor door) Called Event Handling Methodabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.iso.objects.IsoThumpable door) Called Event Handling Methodabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.iso.objects.IsoWindow door) Called Event Handling Method
-
Constructor Details
-
OnObjectCollideEvent
public OnObjectCollideEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoGameCharacter character, zombie.iso.objects.IsoDoor door) Called Event Handling Method- Parameters:
character
- The character who's colliding with another object.door
- The object that is being collided with.
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoGameCharacter character, zombie.iso.IsoGridSquare door) Called Event Handling Method- Parameters:
character
- The character who's colliding with another object.door
- The object that is being collided with.
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoGameCharacter character, zombie.iso.objects.IsoThumpable door) Called Event Handling Method- Parameters:
character
- The character who's colliding with another object.door
- The object that is being collided with.
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoGameCharacter character, zombie.iso.objects.IsoWindow door) Called Event Handling Method- Parameters:
character
- The character who's colliding with another object.door
- The object that is being collided with.
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoGameCharacter character, zombie.characters.IsoZombie door) Called Event Handling Method- Parameters:
character
- The character who's colliding with another object.door
- The object that is being collided with.
-