vooga.games.grandius.events
Class FireVerticalEvent

java.lang.Object
  extended by vooga.games.grandius.events.FiringEvent
      extended by vooga.games.grandius.events.FireVerticalEvent
All Implemented Interfaces:
IEventHandler

public class FireVerticalEvent
extends FiringEvent


Field Summary
 
Fields inherited from class vooga.games.grandius.events.FiringEvent
grandius
 
Constructor Summary
FireVerticalEvent(Blah grandius, Player player, PlayState playState)
           
 
Method Summary
 void actionPerformed()
          User defines what to do after event has been triggered.
 boolean isTriggered()
          User defines the condition when the event will be triggered
 
Methods inherited from class vooga.games.grandius.events.FiringEvent
getGroup, getXLocation, getYLocation, playExplosionSound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FireVerticalEvent

public FireVerticalEvent(Blah grandius,
                         Player player,
                         PlayState playState)
Method Detail

isTriggered

public boolean isTriggered()
Description copied from interface: IEventHandler
User defines the condition when the event will be triggered

Specified by:
isTriggered in interface IEventHandler
Overrides:
isTriggered in class FiringEvent
Returns:
true iff the fire condition is satisfied

actionPerformed

public void actionPerformed()
Description copied from interface: IEventHandler
User defines what to do after event has been triggered.

Specified by:
actionPerformed in interface IEventHandler
Overrides:
actionPerformed in class FiringEvent