Class AbstractQuestContext.SimpleActionFrame
java.lang.Object
me.kzheart.klib.script.kether.core.AbstractQuestContext.AbstractFrame
me.kzheart.klib.script.kether.core.AbstractQuestContext.SimpleActionFrame
- All Implemented Interfaces:
AutoCloseable,QuestContext.Frame
- Enclosing class:
AbstractQuestContext<T extends AbstractQuestContext<T>>
public static final class AbstractQuestContext.SimpleActionFrame
extends AbstractQuestContext.AbstractFrame
在隔离的子帧中执行一个动作。
-
Field Summary
Fields inherited from class me.kzheart.klib.script.kether.core.AbstractQuestContext.AbstractFrame
closeables, frames, future, parent, questContext, varTable -
Constructor Summary
ConstructorsConstructorDescriptionSimpleActionFrame(QuestContext.Frame parent, List<QuestContext.Frame> frames, QuestContext.VarTable vars, ParsedAction<?> action, QuestContext context) -
Method Summary
Modifier and TypeMethodDescriptionOptional<ParsedAction<?>> name()<R> CompletableFuture<R> run()voidsetNext(ParsedAction<?> next) voidsetNext(Quest.Block next) Methods inherited from class me.kzheart.klib.script.kether.core.AbstractQuestContext.AbstractFrame
addClosable, children, close, context, isDone, newFrame, newFrame, parent, variablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.kzheart.klib.script.kether.core.QuestContext.Frame
walkFrames, walkFrames
-
Constructor Details
-
SimpleActionFrame
public SimpleActionFrame(QuestContext.Frame parent, List<QuestContext.Frame> frames, QuestContext.VarTable vars, ParsedAction<?> action, QuestContext context)
-
-
Method Details
-
name
-
currentAction
-
setNext
-
setNext
-
run
-