Class IFigure

java.lang.Object
tetris.model.Figure
tetris.model.figures.IFigure

public class IFigure extends Figure
The class IFigure implements an I-shaped figure of the Tetris game.
Version:
2.1
Author:
Stephan Fischli
  • Field Details

  • Constructor Details

    • IFigure

      public IFigure(int x, int y)
      Creates an I-shaped figure.
      Parameters:
      x - the x coordinate of the initial position
      y - the y coordinate of the initial position