public void render(Renderer r) { r.beginScreen(); Vector2 pos = 50 * Vector2.One; foreach (PlayerIndex p in controllers) { r.renderText(String.Format("Player {0} is connected", p), pos, Color.White, false); pos += 30 * Vector2.UnitY; } r.end(); }
public void render(Renderer r) { r.beginScreen(); r.renderText("Player X paused the game.", 0.5f * Vector2.One, Color.White, false); r.end(); }