source.ucregents.playground.physics
Interface IHasEvent


public interface IHasEvent


Method Summary
 int checkEventTrigger()
          Checks the trigger of the event to see if the conditions are met;
 void enactEvent(int eventID)
          Activates an event by it's ID
 

Method Detail

checkEventTrigger

int checkEventTrigger()
Checks the trigger of the event to see if the conditions are met;

Returns:
If any set of conditions are met, it returns an eventID or null if no conditions are met

enactEvent

void enactEvent(int eventID)
Activates an event by it's ID

Parameters:
eventID - The event ID to enact