vooga.engine.state.other
Class Pause

java.lang.Object
  extended by vooga.engine.state.GameState
      extended by vooga.engine.state.other.Menu
          extended by vooga.engine.state.other.Pause

public class Pause
extends Menu


Field Summary
 
Fields inherited from class vooga.engine.state.GameState
myRenderField, myUpdateField
 
Constructor Summary
Pause(Game game, int pauseKeyEvent, int resumeKeyEvent)
           
Pause(Game game, SpriteGroup displayedgroup, int pauseKeyEvent, int resumeKeyEvent)
           
 
Method Summary
 void actOnKeyPressed(int key)
          This method specifies which action to take upon a particular key press.
 
Methods inherited from class vooga.engine.state.other.Menu
actOnMouseClicked, getCurrentGame, initialize, render, setActive, switchToMenu, tagKeyToMenu, tagMouseToMenu, update
 
Methods inherited from class vooga.engine.state.GameState
activate, addGroup, addPlayField, addRenderPlayField, addRenderState, addState, addUpdatePlayField, addUpdateState, deactivate, equals, getGroup, getRenderField, getUpdateField, isActive, removeEverything
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pause

public Pause(Game game,
             int pauseKeyEvent,
             int resumeKeyEvent)

Pause

public Pause(Game game,
             SpriteGroup displayedgroup,
             int pauseKeyEvent,
             int resumeKeyEvent)
Method Detail

actOnKeyPressed

public void actOnKeyPressed(int key)
Description copied from class: Menu
This method specifies which action to take upon a particular key press.

Overrides:
actOnKeyPressed in class Menu