timedfinalevent.cs

来自「c#设计模式随书源码 c#设计模式随书源码」· CS 代码 · 共 26 行

CS
26
字号
using System;

namespace Seeding {
	/// <summary>
	///class describes an event that will be swum twice
	/// </summary>
	public class TimedFinalEvent:Event  {
	
		public TimedFinalEvent(string filename, int lanes):base(filename, lanes) {
		}
			//return StraightSeeding class
			public override Seeding getSeeding() {
				return new StraightSeeding(swimmers, numLanes);
			}
		public override bool isPrelim() {
			return false;
		}
		public override bool isFinal() {
			return false;
		}
		public override bool isTimedFinal() {
			return true;
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?