Exemplo n.º 1
0
        //T-SHAPE
        public TBlockShapeD() : base()
        {
            Blocks     = new List <TBlock>();
            MoveBlocks = new TMoveBlocks(Blocks);

            TBlock Block = new TBlock();

            Block.X = 200;
            Block.Y = 0;
            Blocks.Add(Block);

            Block   = new TBlock();
            Block.X = 200;
            Block.Y = 25;
            Blocks.Add(Block);

            Block   = new TBlock();
            Block.X = 200;
            Block.Y = 50;
            Blocks.Add(Block);

            Block   = new TBlock();
            Block.X = 225;
            Block.Y = 25;
            Blocks.Add(Block);
        }
 public TBlockShape()
 {
     Blocks     = new List <TBlock>();
     MoveBlocks = new TMoveBlocks(Blocks);
 }