show rules to the user
This commit is contained in:
@@ -81,6 +81,16 @@ namespace Game.UI {
|
||||
DrawTextBox(HAlignment.Center, VAlignment.Center, BoxType.Double, windowHeight / 2 + 1, windowWidth / 2 + 1, text, 0xffffff, 0xffffff, 0xfc5d2d, windowWidth / 2);
|
||||
}
|
||||
|
||||
public void ShowMainGameScreenBase() {
|
||||
ClearWithColor(0x5e61ed);
|
||||
DrawTitle(2, 0x5e61ed);
|
||||
DrawCopyright(0x5e61ed);
|
||||
}
|
||||
|
||||
public void DrawRules() {
|
||||
DrawTextBox(HAlignment.Center, VAlignment.Center, BoxType.Simple, windowHeight / 2 + 1, windowWidth / 2 + 1, GetMessage(Message.RULES), 0x00fcdb, 0x00fcdb, 0x000000, windowWidth * 3 / 4);
|
||||
}
|
||||
|
||||
void DrawTitle(int y, int bgColor) {
|
||||
string text1 = GetMessage(Message.TITLE_LINE1)!;
|
||||
string text2 = GetMessage(Message.TITLE_LINE2)!;
|
||||
|
||||
Reference in New Issue
Block a user