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