コード例 #1
0
 public fQ(ITetris parent) : base(parent)
 {
     brush = QueueBrushes.GetBrush();
     a.X   = 0;
     a.Y   = 4;
     b.X   = 0;
     b.Y   = 5;
     c.X   = 1;
     c.Y   = 4;
     d.X   = 1;
     d.Y   = 5;
     InitFigure();
 }
コード例 #2
0
ファイル: fJ.cs プロジェクト: Dsuserts/Tetris
 public fJ(ITetris parent) : base(parent)
 {
     rotation = Rotation.rotation0;
     brush    = QueueBrushes.GetBrush();
     a.X      = 0;
     a.Y      = 5;
     b.X      = 1;
     b.Y      = 5;
     c.X      = 2;
     c.Y      = 4;
     d.X      = 2;
     d.Y      = 5;
     InitFigure();
 }
コード例 #3
0
ファイル: fI.cs プロジェクト: Dsuserts/Tetris
 public fI(ITetris parent) : base(parent)
 {
     rotation = Rotation.rotation0;
     brush    = QueueBrushes.GetBrush();
     a.X      = 0;
     a.Y      = 3;
     b.X      = 0;
     b.Y      = 4;
     c.X      = 0;
     c.Y      = 5;
     d.X      = 0;
     d.Y      = 6;
     InitFigure();
 }