Exemple #1
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;
 }
Exemple #2
0
 public void Tick(MainClass Win, double Delta)
 {
 }
Exemple #3
0
 public void Render(MainClass Win)
 {
     _ren.Render(Win);
 }
Exemple #4
0
 public IGameState LeaveTo(MainClass Win)
 {
     Win.Mouse.ButtonDown -= ButtonDown;
     return _next;
 }