public class GameOfLife3D extends InteractiveCommand
moduleService, pluginService| Constructor and Description |
|---|
GameOfLife3D() |
| Modifier and Type | Method and Description |
|---|---|
void |
iterate()
Performs one iteration of the game.
|
void |
pause()
Stops the simulation
|
void |
play()
Repeatedly iterates the simulation until stopped
|
void |
preview() |
void |
randomize()
Randomizes a new bit field.
|
void |
run() |
asType, cancel, log, onEvent, update, updateInputcancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancelgetDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInput, addInput, addOutput, addOutput, removeInput, removeOutputgetDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputpublic void play()
public void pause()
public void randomize()
public void iterate()
public void run()
public void preview()
preview in interface Previewablepreview in interface Modulepreview in class InteractiveCommandCopyright © 2019–2022 scenery. All rights reserved.