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