Exemple #1
0
 /// <summary>
 /// Creates a new instance of Level class.
 /// </summary>
 public Level()
 {
     this.countDown = new CountDownDefinition();
     this.pipeQueue = new PipeQueueDefinition();
     this.squareMap = new SquareMapDefinition();
 }
Exemple #2
0
 /// <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);
     }
 }