bonuska1/App/Program.cs
Slavasil f2653e66d4 add support for translations; basic terminal functions and splash screen
- create I18n class for translations
- create TextDisplay class to draw on console, and to initialize and reset console configuration
- create stub for future command-line option handling
2025-03-23 19:46:25 +03:00

23 lines
528 B
C#

using Game.UI;
namespace Game {
internal class Program {
static int Main(string[] args) {
CommandLineOptions opts = CommandLineOptions.Parse(args);
TextDisplay display = new TextDisplay();
if (!display.InitWindow()) {
return 1;
}
display.PrintSimpleWelcome();
Thread.Sleep(1200);
display.ShowSplash();
Thread.Sleep(2500);
display.ResetWindow();
return 0;
}
}
}