Example #1
0
 public void OnRender()
 {
     if (GameStatus)
     {
         t.Draw();
         c.Draw();
     }
     _drawing.DrawingPrimitives.Clear();
     _drawing.ProjectionMatrix = _projectionMatrix;
     _drawing.Print(_myFont, "SCORE: " + puntuacion.ToString(), new Vector3(Settings.CURRENT_WIN_WIDTH / 2 - 100, Settings.CURRENT_WIN_HEIGHT * 5 / 6, 0), QFontAlignment.Left);
     _drawing.RefreshBuffers();
     _drawing.Draw();
 }