C# Class Treasure.Trove

Datei anzeigen Open project: ajlopez/TddRocks Class Usage Examples

Public Methods

Method 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 method

public AddChest ( Chest chest ) : void
chest Chest
return void

AddKey() public method

public AddKey ( int key ) : void
key int
return void

AddKeys() public method

public AddKeys ( string keys ) : void
keys string
return void

GetSolution() public method

public GetSolution ( IEnumerable opened, IList toopen, KeySet keyset ) : IEnumerable
opened IEnumerable
toopen IList
keyset KeySet
return IEnumerable

GetSolution() public method

public GetSolution ( ) : IList
return IList

GetSolution() public method

public GetSolution ( int count, int pos, int result ) : bool
count int
pos int
result int
return bool