Package | Description |
---|---|
cusack.hcg.games.pebble.algorithms.mergePebbles |
Modifier and Type | Method and Description |
---|---|
PurePebble |
PurePebble.combineWith(PurePebble p)
Return a combined pure pebble on two conditions.
|
PurePebble |
PurePebble.getDoubled()
Returns a pebble that has twice the mass of this pebble, or null if such a pebble would have a mass greater than
the startingMass.
|
PurePebble |
CompositePebble.getPurePebble(int index) |
Modifier and Type | Method and Description |
---|---|
PurePebble |
PurePebble.combineWith(PurePebble p)
Return a combined pure pebble on two conditions.
|
Constructor and Description |
---|
CompositePebble(PurePebble p) |
CompositePebble(PurePebble p,
java.util.Set<java.lang.Integer> doNotMergeToSet) |