org.deken.game.trigger
Interface TriggerListener

All Known Implementing Classes:
DecorTriggerListener

public interface TriggerListener

Title: TriggerListener

Description: This interface is for listening to a Trigger, to hear when the Trigger is invoked.

Copyright: Copyright (c) Sep 1, 2012

Version:
1.0
Author:
Gary Deken

Method Summary
 void activate(Trigger trigger)
          Once a Trigger has met the requirements for being activated, the TriggerListener will notified of this trigger.
 void deactivate(Trigger trigger)
          Once a Trigger has lost the requirements for being activated, the TriggerListener will notified of this trigger.
 

Method Detail

activate

void activate(Trigger trigger)
Once a Trigger has met the requirements for being activated, the TriggerListener will notified of this trigger.

Parameters:
trigger -

deactivate

void deactivate(Trigger trigger)
Once a Trigger has lost the requirements for being activated, the TriggerListener will notified of this trigger.

Parameters:
trigger -