示例#1
0
 public FPS(string text, Color color, Vector2 position) : base(text, color, position)
 {
     this.fpsCounter = new FramesPerSecondCounter();
     this.fpsTimer   = new ContinuousClock(1);
     this.fpsTimer.Start();
 }
示例#2
0
 public Digiter()
 {
     this.text     = "";
     this.keyTimer = new ContinuousClock(1);
     this.keyTimer.Start();
 }