Ejemplo n.º 1
0
 private void InitHelpWindow()
 {
     _HelpWindow = new Window();
     _HelpWindow.CenterText = true;
     _HelpWindow.Height = _HelpWindow.FittingHeight(1);
     _HelpWindow.Text = "Press ENTER to continue";
     _HelpWindow.Open();
 }
Ejemplo n.º 2
0
 private void InitRuleWindow()
 {
     _RuleWindow = new Window();
     _RuleWindow.Text = "Open:          " + GameRule.Open + "\n";
     _RuleWindow.Text += "Random:        " + GameRule.Random + "\n";
     _RuleWindow.Text += "Elemental:     " + GameRule.Elemental + "\n";
     _RuleWindow.Text += "Same:          " + GameRule.Same + "\n";
     _RuleWindow.Text += "Same Wall:     " + GameRule.SameWall + "\n";
     _RuleWindow.Text += "Plus:          " + GameRule.Plus + "\n";
     _RuleWindow.Text += "Plus Wall:     " + GameRule.PlusWall + "\n";
     _RuleWindow.Text += "--------------------\n";
     _RuleWindow.Text += "Trade Rule: " + GameRule.TradingRule + "\n";
     _RuleWindow.Open();
 }
 private void InitHelpWindow()
 {
     _HelpWindow = new Window();
     _HelpWindow.Height = _HelpWindow.FittingHeight(1);
     _HelpWindow.CenterText = true;
 }