Exemple #1
0
 public void Init(MainClass Main)
 {
     //Text reading and intro setup.
     string text = "";
     using (StreamReader r = new StreamReader("res/readme.txt")) {
         text = r.ReadToEnd();
     }
     _ren = new FullScreenTextRender(text, Brushes.Gold, Brushes.Indigo);
     Main.Mouse.ButtonDown += ButtonDown;
 }
Exemple #2
0
 public void Init(MainClass Win)
 {
     //Text reading and intro setup.
     string text = "";
     using (StreamReader r = new StreamReader("res/dead.txt")) {
         text = r.ReadToEnd();
     }
     _ren = new FullScreenTextRender(text, Brushes.Yellow, Brushes.Purple);
     Win.Mouse.ButtonDown += ButtonDown;
 }