vooga.arcade.events
Class SelectGameEvent

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

public class SelectGameEvent
extends ArcadeEvent

Event fired when a game is selected from the game list and a game info tab is created. GETS: We used get methods so information passed about events can be accessed by listeners.

Author:
Ron Murhammer, Lindsay Kubasik, Vijay Ram

Constructor Summary
SelectGameEvent(int ID, java.lang.String gameTitle, int tabID)
          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.
 int getTabID()
          Gets the ID of the tab of the game info panel.
 
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

SelectGameEvent

public SelectGameEvent(int ID,
                       java.lang.String gameTitle,
                       int tabID)
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

getTabID

public int getTabID()
Gets the ID of the tab of the game info panel.