public void Draw(Sfg.RenderTarget target, Sfg.RenderStates states) { _score.DisplayedString = $"Score: {_gameplayState.Score}"; target.Draw(_background); target.Draw(new WorldView(_gameplayState.World)); target.Draw(new TerminoView(_gameplayState.World.CurrentPiece)); target.Draw(_score); }
public void Draw(Sfg.RenderTarget target, Sfg.RenderStates states) { target.Draw(_background); foreach (var view in _views) { target.Draw(view, states); } }
public void Draw(Sfg.RenderTarget target, Sfg.RenderStates states) { target.Draw(_score, states); }