Esempio n. 1
0
 public Tetrimino_T(ITetrisBoard board)
     : base(board, CellColor.Magenta)
 {
     this.anchorPoint = new CellPoint()
     {
         X = 5, Y = 1
     };
 }
Esempio n. 2
0
 public Tetrimino_S(ITetrisBoard board)
     : base(board, CellColor.Green)
 {
     this.anchorPoint = new CellPoint()
     {
         X = 5, Y = 1
     };
 }
Esempio n. 3
0
 public Tetrimino_I(ITetrisBoard board)
     : base(board, CellColor.Cyan)
 {
     this.anchorPoint = new CellPoint()
     {
         X = 5, Y = 2
     };
 }
Esempio n. 4
0
 // c'tor
 public Tetrimino(ITetrisBoard board, CellColor color)
 {
     this.board    = board;
     this.color    = color;
     this.rotation = RotationAngle.Degrees_0;
 }