vooga.arcade.events
Class EndGameEvent

java.lang.Object
  extended by vooga.arcade.events.ArcadeEvent
      extended by vooga.arcade.events.EndGameEvent

public class EndGameEvent
extends ArcadeEvent

Event that is fired when the game ends. GETS: We used get methods so information passed about events can be accessed by listeners.

Author:
Ron Murhammer, Lindsay Kubasik, Vijay Ram

Constructor Summary
EndGameEvent(int ID, java.lang.String gameTitle)
          Constructs the event that fires when the game ends.
 
Method Summary
 java.lang.String getGameTitle()
          Gets the name of the game that is ending.
 
Methods inherited from class vooga.arcade.events.ArcadeEvent
getFrameID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndGameEvent

public EndGameEvent(int ID,
                    java.lang.String gameTitle)
Constructs the event that fires when the game ends.

Parameters:
ID -
gameTitle -
Method Detail

getGameTitle

public java.lang.String getGameTitle()
Gets the name of the game that is ending.

Returns:
String game name