private static async Task ContuorLine() { while (true) { var column = RandomHelper.Rand(0, Width); await FallingLine.StartNew(column); } }
public static async Task StartNew(int column) { var n = new FallingLine(column); await n.Start(); }
private static async Task ContuorLine() { while (true) { var column = RandomHelper.Rand(0, Width); await FallingLine.StartNew(column); } }
public static async Task StartNew(int column) { var n = new FallingLine(column); await n.Start(); }