Package tetris

Class Tetris

java.lang.Object
tetris.Tetris

public class Tetris extends Object
The class Tetris is the main class to start a Tetris game.
Version:
2.1
Author:
Stephan Fischli
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The height of the field.
    static final int
    The width of the field.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Creates a Tetris game with a graphical user interface and starts it.

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Tetris

      public Tetris()
  • Method Details

    • main

      public static void main(String[] args)
      Creates a Tetris game with a graphical user interface and starts it.