public void Update(UpdateContext context) { if (!this._valid || context.time < this._beginTime) { return; } if (context.time >= this._nextTime) { SyncEvent.CountDown(this._num, this._countDown); this._nextTime = context.time + Fix64.One; ++this._num; } if (this._num <= this._countDown) { return; } this._valid = false; this._battle.DestroyRails(); }