IClockTick.cs 378 B

1234567891011121314
  1. namespace XGame.Framework.Time
  2. {
  3. /// <summary>
  4. /// 为其他系统提供时钟驱动
  5. /// </summary>
  6. public interface IClockTick
  7. {
  8. /// <summary>
  9. /// 时钟驱动,每帧调用
  10. /// </summary>
  11. /// <param name="millisecond">每帧所流失的时间,单位:毫秒</param>
  12. void ClockUpdate(int millisecond);
  13. }
  14. }