C# Class DogSledSim.Model.DogSled

Afficher le fichier Open project: novanet/CSharp-Test

Méthodes publiques

Méthode 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 méthode

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

DogSled() public méthode

public DogSled ( ) : System
Résultat System

DogSled() public méthode

Creates a dogsled and initialize the dog team
public DogSled ( HashSet a ) : System
a HashSet
Résultat System

Start() public méthode

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