Метод |
Описание |
|
CoreModel ( ) : System |
|
|
GetPuzzleBoardAndToolboxDefinition ( int puzzleLevel ) : string |
|
|
GetTilesInReaction ( Tile newAtomTile ) : IList |
|
|
SetGameStateToGameComplete ( ) : void |
|
|
calculateReactionsUsingBestFirstSearch ( IList potentialReactionTiles, Tile centerTile, IList foundSoFarInPath, IList foundSoFarInTotal ) : IList |
|
|
calculateReactionsUsingBruteForceCombinations ( IList potentialReactionTiles, Tile userClickedTile ) : IList |
|
|
clearBoard ( ) : void |
|
|
countEmptyTilesOnTheBoard ( ) : int |
|
|
generateNormalModeBoard ( ) : void |
|
|
generatePuzzleModeLevel ( ) : void |
|
|
getCombinationsOf ( int i, IList potentialReactionTiles, Tile userClickedTile ) : IList |
|
|
getCombinationsOfTwo ( IList potentialReactionTiles, Tile userClickedTile ) : IList |
|
|
getIncrementalCombinations ( IList potentialReactionTiles, IList previousSet ) : IList |
|
|
getMostElectronegative ( IList molecules ) : Molecule |
|
|
getNonEmptyAdjacentTiles ( Tile centerTile ) : IList |
|
|
getPotentialReactionTiles ( Tile centerTile, IList toReturn ) : void |
Get potential reaction tiles. These are non-empty tiles that are non-diagonally adjacent to centerTile. This also includes tiles that are adjacent to adjacent tiles. |
|
loadLastReachedLevel ( ) : void |
|
|
tileFollowsDifficultyBalancingAlgorithm ( Tile current, Atom proposedAtom ) : bool |
|
|
weedOutNonConnectedMolecules ( IList molecules ) : IList |
Given a list of potential molecules, weed out all the ones where the atoms are not all adjacent to each other. This can occur due to a bug-fix for I-shaped molecules not reacting, where we extended molecule detection to all non-empty adjacent tiles. As a result, you can have H-Be-Cl forming H-Cl, which is wrong. This function will fix that, by checking that H and Cl are adjacent. |
|