-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBkgOptions.cs
38 lines (31 loc) · 865 Bytes
/
BkgOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
public class BkgOptions {
public ConsoleColor BackgroundColor { get; set; }
public ConsoleColor TextColor {get; set; }
public string ArtText { get; set; }
public BkgOptions(ConsoleColor backgroundColor, ConsoleColor textColor, string artText) {
BackgroundColor = backgroundColor;
TextColor = textColor;
ArtText = artText;
}
public void SetBackgroundColor(ConsoleColor color)
{
BackgroundColor = color;
}
public void SetTextColor(ConsoleColor color)
{
TextColor = color;
}
public void SetArtText(string text)
{
ArtText = text;
}
public ConsoleColor GetBackgroundColor() {
return BackgroundColor;
}
public ConsoleColor GetTextColor() {
return TextColor;
}
public string GetArtText() {
return ArtText;
}
}