vooga.games.grandius.events
Class FireMissileEvent

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

public class FireMissileEvent
extends FiringEvent


Field Summary
 
Fields inherited from class vooga.games.grandius.events.FiringEvent
grandius
 
Constructor Summary
FireMissileEvent(Blah grandius, Player player, PlayState playState)
           
 
Method Summary
 void actionPerformed()
          User defines what to do after event has been triggered.
 boolean isMissileActive()
           
 boolean isTriggered()
          User defines the condition when the event will be triggered
 void setMissileActive(boolean activated)
           
 
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

FireMissileEvent

public FireMissileEvent(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

isMissileActive

public boolean isMissileActive()

setMissileActive

public void setMissileActive(boolean activated)

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