Пример #1
0
 // Construct the block
 public Block(Board board, Screen screen, int row, int column)
 {
     Board           = board;
     Renderer        = new BlockRenderer(this, row, column);
     PopulatingDelay = TimeSpan.FromMilliseconds(random.Next(0, (int)PopulatingMaxDelay.TotalMilliseconds));
 }
Пример #2
0
 // Construct the block
 public Block(Board board, Screen screen, int row, int column)
 {
     Board = board;
     Renderer = new BlockRenderer(this, row, column);
     PopulatingDelay = TimeSpan.FromMilliseconds(random.Next(0, (int)PopulatingMaxDelay.TotalMilliseconds));
 }