erland.game.tetris
Interface TetrisModelInterface
- All Known Implementing Classes:
- TetrisModelNetworked, TetrisModelStandalone
public interface TetrisModelInterface
getMainContainer
erland.game.tetris.BlockContainerData getMainContainer()
getNextBlock
erland.game.tetris.Block getNextBlock()
getOpponentMainContainer
erland.game.tetris.BlockContainerData getOpponentMainContainer()
isEnd
boolean isEnd()
isStarted
boolean isStarted()
isCompleted
boolean isCompleted()
getHighScore
String getHighScore()
getScore
String getScore()
getOpponentScore
String getOpponentScore()
getLevel
String getLevel()
getOpponentLevel
String getOpponentLevel()
isMultiplayer
boolean isMultiplayer()
isOpponentConnected
boolean isOpponentConnected()
init
void init(GameEnvironmentInterface environment)
moveLeft
void moveLeft()
moveRight
void moveRight()
rotate
void rotate()
moveDown
void moveDown()
startGame
void startGame()
update
void update()
Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.