tetris
Class TetrisGame

java.lang.Object
  extended by tetris.TetrisGame

public class TetrisGame
extends java.lang.Object

The utility class for creating a frame for displaying and managing a game of Tetris.


Field Summary
static java.awt.Color BACK_COLOR
          Smallest manual step time
static Tetromino I_TETROMINO
           
static Tetromino J_TETROMINO
           
static Tetromino L_TETROMINO
           
static Tetromino O_TETROMINO
           
static Tetromino[] pieces
           
static Tetromino S_TETROMINO
           
static Tetromino T_TETROMINO
           
static Tetromino Z_TETROMINO
           
 
Constructor Summary
TetrisGame(java.lang.String title, int startingDelay, TetrisAI... logics)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACK_COLOR

public static final java.awt.Color BACK_COLOR
Smallest manual step time


O_TETROMINO

public static final Tetromino O_TETROMINO

I_TETROMINO

public static final Tetromino I_TETROMINO

S_TETROMINO

public static final Tetromino S_TETROMINO

Z_TETROMINO

public static final Tetromino Z_TETROMINO

T_TETROMINO

public static final Tetromino T_TETROMINO

J_TETROMINO

public static final Tetromino J_TETROMINO

L_TETROMINO

public static final Tetromino L_TETROMINO

pieces

public static final Tetromino[] pieces
Constructor Detail

TetrisGame

public TetrisGame(java.lang.String title,
                  int startingDelay,
                  TetrisAI... logics)
Method Detail

main

public static void main(java.lang.String[] args)