示例#1
0
 public piece(piece copy)
 {
     x = copy.x;
     y = copy.y;
     color = copy.color;
     statut = copy.statut;
     type = copy.type;
 }
示例#2
0
        private void choose_next_piece()
        {
            int i =  _random.Next(7);

            next_piece = (Type_piece)i;
        }
示例#3
0
 public piece(int x1, int y1, Tetris_color col, Direction_piece stat, Type_piece typ)
 {
     x = x1;
     y = y1;
     color = col;
     statut = stat;
     type = typ;
 }