Package tetris
Class Tetris
java.lang.Object
tetris.Tetris
The class Tetris is the main class to start a Tetris game.
- Version:
- 2.1
- Author:
- Stephan Fischli
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WIDTH
public static final int WIDTHThe width of the field.- See Also:
-
HEIGHT
public static final int HEIGHTThe height of the field.- See Also:
-
-
Constructor Details
-
Tetris
public Tetris()
-
-
Method Details
-
main
Creates a Tetris game with a graphical user interface and starts it.
-