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, updateInput
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancel
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutput
public void play()
public void pause()
public void randomize()
public void iterate()
public void run()
public void preview()
preview
in interface Previewable
preview
in interface Module
preview
in class InteractiveCommand
Copyright © 2019–2022 scenery. All rights reserved.