Class SFigure

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

public class SFigure extends Figure
The class SFigure implements a S-shaped figure of the Tetris game.
Version:
2.1
Author:
Stephan Fischli
  • Field Details

  • Constructor Details

    • SFigure

      public SFigure(int x, int y)
      Creates a S-shaped figure.
      Parameters:
      x - the x coordinate of the initial position
      y - the y coordinate of the initial position