Beispiel #1
0
        public object Clone()
        {
            Tetromino p = new Tetromino(Type, BlockWidth, BlockHeight)
            {
                X = this.X,
                Y = this.Y
            };

            p.Blocks = (bool[][])this.Blocks.Clone();
            p.UpdateArea();
            return(p);
        }