C# Class DogSledSim.Model.DogSled

Datei anzeigen Open project: novanet/CSharp-Test

Public Methods

Method Description
AddPair ( DogPair pair ) : void

Adds a new pair of dogs to the list

DogSled ( ) : System
DogSled ( HashSet a ) : System

Creates a dogsled and initialize the dog team

Start ( ) : void

Start the sled, tell all the dogs in the dog team to start running.

Method Details

AddPair() public method

Adds a new pair of dogs to the list
public AddPair ( DogPair pair ) : void
pair DogPair
return void

DogSled() public method

public DogSled ( ) : System
return System

DogSled() public method

Creates a dogsled and initialize the dog team
public DogSled ( HashSet a ) : System
a HashSet
return System

Start() public method

Start the sled, tell all the dogs in the dog team to start running.
public Start ( ) : void
return void