12345678910111213141516171819 |
- namespace XGame.Framework.Time
- {
- public interface IClockContainer: ITimeUpdate
- {
- /// <summary>
- /// 添加一个时钟
- /// </summary>
- /// <param name="timeStamp">当前的时间戳</param>
- /// <returns>时钟</returns>
- IClock AddClock(long timestamp);
- /// <summary>
- /// 移除指定的时钟
- /// </summary>
- /// <param name="clock">指定的时钟</param>
- /// <returns>是否移除成功</returns>
- bool RemoveClock(IClock clock);
- }
- }
|