vooga.arcade.events
Class StartGameEvent

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

public class StartGameEvent
extends ArcadeEvent

Event fired when a new game is started. GETS: We used get methods so information passed about events can be accessed by listeners.

Author:
Ron Murhammer, Lindsay Kubasik, Vijay Ram

Constructor Summary
StartGameEvent(int ID, java.lang.String gameTitle, VoogaSave voogaSave)
          Constructs the event that is fired when the game is started.
 
Method Summary
 java.lang.String getGameTitle()
          Gets the name of the game that is starting.
 VoogaSave getReplay()
          Gets the instantiation of the replay.
 
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

StartGameEvent

public StartGameEvent(int ID,
                      java.lang.String gameTitle,
                      VoogaSave voogaSave)
Constructs the event that is fired when the game is started.

Parameters:
ID -
gameTitle -
Method Detail

getGameTitle

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

Returns:
String game name

getReplay

public VoogaSave getReplay()
Gets the instantiation of the replay.

Returns:
voogaSave