vooga.replay.core
Class Replay

java.lang.Object
  extended by vooga.replay.core.Replay

public class Replay
extends java.lang.Object

This class is instantiated when the arcade is made and is the class that other modules communicate to the Replay through.

Author:
Carrie Ho

Constructor Summary
Replay(VoogaGUI voogaGUI)
           
 
Method Summary
static javax.swing.JMenuItem getGameHistoryMenuItem(java.lang.String user, VoogaGUI voogaGUI)
          Gets the Load Game History MenuItem which should be added to the Users menu.
 VoogaSave getVoogaSave(int frameID)
          Gets the VoogaSave associated with the frame ID
 void setVoogaSave(int frameID, VoogaSave voogaSave)
          Saves the frameID and VoogaSave object associated with it in a map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Replay

public Replay(VoogaGUI voogaGUI)
Method Detail

getGameHistoryMenuItem

public static javax.swing.JMenuItem getGameHistoryMenuItem(java.lang.String user,
                                                           VoogaGUI voogaGUI)
Gets the Load Game History MenuItem which should be added to the Users menu.

Parameters:
user -
Returns:

getVoogaSave

public VoogaSave getVoogaSave(int frameID)
Gets the VoogaSave associated with the frame ID

Parameters:
myFrameID -
Returns:
VoogaSave associated with the frameID

setVoogaSave

public void setVoogaSave(int frameID,
                         VoogaSave voogaSave)
Saves the frameID and VoogaSave object associated with it in a map

Parameters:
frameID -
voogaSave -