예제 #1
0
 public override void draw()
 {
     base.draw();
     lastFPS.Add((int)(1000f / (timer == 0 ? 1000 : timer)));
     fpsText.Text = (lastFPS.Sum() / lastFPS.Count).ToString("0.00");
     timer        = 0;
 }