Package io.molr.mole.core.tree
Class CommandDispatcher
- java.lang.Object
-
- io.molr.mole.core.tree.CommandDispatcher
-
public abstract class CommandDispatcher extends Object
-
-
Constructor Summary
Constructors Constructor Description CommandDispatcher(Consumer<StrandCommand> consumer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Consumer<StrandCommand>
consumer()
abstract void
instruct(StrandCommand command)
-
-
-
Constructor Detail
-
CommandDispatcher
public CommandDispatcher(Consumer<StrandCommand> consumer)
-
-
Method Detail
-
consumer
protected Consumer<StrandCommand> consumer()
-
instruct
public abstract void instruct(StrandCommand command)
-
-