24 lines
447 B
C#
24 lines
447 B
C#
|
|
namespace Debug.ModelingMusic;
|
|
|
|
public partial class Point
|
|
{
|
|
public ConsoleColor Color = Console.ForegroundColor;
|
|
public char Char = Music.ShowChar;
|
|
|
|
public Point()
|
|
{
|
|
int v = new Random().Next(0, 2);
|
|
switch (v)
|
|
{
|
|
case 0:
|
|
Color = ConsoleColor.Red;
|
|
break;
|
|
case 1:
|
|
Color = ConsoleColor.Blue;
|
|
break;
|
|
}
|
|
|
|
}
|
|
}
|