/// <summary> /// Creates a new instance of Level class. /// </summary> public Level() { this.countDown = new CountDownDefinition(); this.pipeQueue = new PipeQueueDefinition(); this.squareMap = new SquareMapDefinition(); }
/// <summary> /// Applies definition to count down. /// </summary> /// <param name="definition">The count down definition to apply from.</param> public void FromDefinition(CountDownDefinition definition) { if (definition != null) { this.Reset(definition.Duration); } }