|
static boolean | runSolutionInSandbox (SolutionInterpreter interpreter, SandboxGame sandboxGame, PrintStream output, boolean genTest) |
|
static void | printStep (PrintStream s, World w, boolean genTest) |
|
static void | runTimeStep (SandboxGame sandboxGame, SolutionTimeStep step, SolutionTimeStep nextStep) |
|
static boolean | shouldStepWorld (SolutionTimeStep step, SandboxGame game) |
|
static void | performAction (TimeStepAction action, final SandboxGame sandboxGame) throws SolutionExceptions.UnexpectedState |
|
static void | doPerformAction (TimeStepAction action, final SandboxGame sandboxGame) throws SolutionExceptions.UnexpectedState |
|
static void rabbitescape.engine.solution.SolutionRunner.doPerformAction |
( |
TimeStepAction |
action, |
|
|
final SandboxGame |
sandboxGame |
|
) |
| throws SolutionExceptions.UnexpectedState |
|
staticprivate |
static void rabbitescape.engine.solution.SolutionRunner.performAction |
( |
TimeStepAction |
action, |
|
|
final SandboxGame |
sandboxGame |
|
) |
| throws SolutionExceptions.UnexpectedState |
|
staticprivate |
static void rabbitescape.engine.solution.SolutionRunner.printStep |
( |
PrintStream |
s, |
|
|
World |
w, |
|
|
boolean |
genTest |
|
) |
| |
|
staticprivate |
static void rabbitescape.engine.solution.SolutionRunner.runPartialSolution |
( |
Solution |
solution, |
|
|
final SandboxGame |
sandboxGame |
|
) |
| |
|
static |
static boolean rabbitescape.engine.solution.SolutionRunner.runSolution |
( |
Solution |
solution, |
|
|
World |
world, |
|
|
PrintStream |
output, |
|
|
boolean |
genTest |
|
) |
| throws SolutionExceptions.ProblemRunningSolution |
|
static |
- Returns
- true if the supplied solution solved the level
- Parameters
-
output | A stream (eg System.out) to print to. May be null if no output is required. |
static boolean rabbitescape.engine.solution.SolutionRunner.runSolution |
( |
Solution |
solution, |
|
|
World |
world |
|
) |
| |
|
static |
static boolean rabbitescape.engine.solution.SolutionRunner.runSolutionInSandbox |
( |
SolutionInterpreter |
interpreter, |
|
|
SandboxGame |
sandboxGame, |
|
|
PrintStream |
output, |
|
|
boolean |
genTest |
|
) |
| |
|
staticprivate |
If we have no next step, or the world is finished and the step is just an assertion step, return false. Otherwise, true.
The documentation for this class was generated from the following file: