C# Class Treasure.Trove

Afficher le fichier Open project: ajlopez/TddRocks Class Usage Examples

Méthodes publiques

Méthode Description
AddChest ( Chest chest ) : void
AddKey ( int key ) : void
AddKeys ( string keys ) : void
GetSolution ( IEnumerable opened, IList toopen, KeySet keyset ) : IEnumerable
GetSolution ( ) : IList
GetSolution ( int count, int pos, int result ) : bool

Method Details

AddChest() public méthode

public AddChest ( Chest chest ) : void
chest Chest
Résultat void

AddKey() public méthode

public AddKey ( int key ) : void
key int
Résultat void

AddKeys() public méthode

public AddKeys ( string keys ) : void
keys string
Résultat void

GetSolution() public méthode

public GetSolution ( IEnumerable opened, IList toopen, KeySet keyset ) : IEnumerable
opened IEnumerable
toopen IList
keyset KeySet
Résultat IEnumerable

GetSolution() public méthode

public GetSolution ( ) : IList
Résultat IList

GetSolution() public méthode

public GetSolution ( int count, int pos, int result ) : bool
count int
pos int
result int
Résultat bool