erland.game.tetris
Class Tetris

java.lang.Object
  extended by erland.game.GamePanelHandlerForApplication
      extended by erland.game.tetris.Tetris
All Implemented Interfaces:
GameEnvironmentInterface, GamePanelHandlerApplicationInterface, GamePanelHandlerImplementationInterface, GamePanelHandlerInterface, GameServerEnvironmentInterface, TimerListenerInterface, ActionListener, EventListener

public class Tetris
extends GamePanelHandlerForApplication
implements GamePanelHandlerApplicationInterface


Constructor Summary
Tetris(String hostname, String name)
           
 
Method Summary
 void askUserForOptions()
           
 DisplayMode[] getDisplayModes()
           
 ImageHandlerInterface getImageHandler()
           
 ParameterValueStorageExInterface getStorage()
           
 void initGames(GamePanelHandlerInterface handler)
           
static void main(String[] args)
           
 
Methods inherited from class erland.game.GamePanelHandlerForApplication
actionPerformed, addPanel, askUserForFullscreen, cheatWord, createImageCreator, createScreenHandler, getApplication, getCustomEnvironment, getFrameDelay, getFullScreen, getHighScore, getHighScoreList, getImageCreator, getScreenHandler, init, initExtraButtons, initHandler, run, setCustomEnvironment, setExtraButtonsVisible, setHighScore, setImageHandler, setStorage, tick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tetris

public Tetris(String hostname,
              String name)
Method Detail

main

public static void main(String[] args)

askUserForOptions

public void askUserForOptions()
Specified by:
askUserForOptions in interface GamePanelHandlerImplementationInterface
Overrides:
askUserForOptions in class GamePanelHandlerForApplication

getDisplayModes

public DisplayMode[] getDisplayModes()
Specified by:
getDisplayModes in interface GamePanelHandlerApplicationInterface

initGames

public void initGames(GamePanelHandlerInterface handler)
Specified by:
initGames in interface GamePanelHandlerApplicationInterface

getImageHandler

public ImageHandlerInterface getImageHandler()
Specified by:
getImageHandler in interface GameEnvironmentInterface
Overrides:
getImageHandler in class GamePanelHandlerForApplication

getStorage

public ParameterValueStorageExInterface getStorage()
Specified by:
getStorage in interface GameServerEnvironmentInterface
Overrides:
getStorage in class GamePanelHandlerForApplication


Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.