UNPKG

narraleaf-react

Version:

A React visual novel player framework

17 lines (16 loc) 952 B
import { LayerActionContentType, LayerActionTypes } from "../../action/actionTypes"; import { TypedAction } from "../../action/actions"; import { Layer } from "../../elements/layer"; import { Values } from "../../../../util/data"; import { GameState } from "../../../player/gameState"; import { ActionExecutionInjection, ExecutedActionResult } from "../../action/action"; import { LogicAction } from "../../action/logicAction"; import { Story } from "../../elements/story"; export declare class LayerAction<T extends Values<typeof LayerActionTypes> = Values<typeof LayerActionTypes>> extends TypedAction<LayerActionContentType, T, Layer> { static ActionTypes: { readonly action: "layer:action"; readonly setZIndex: "layer:setZIndex"; }; executeAction(gameState: GameState, injection: ActionExecutionInjection): ExecutedActionResult; stringify(_story: Story, _seen: Set<LogicAction.Actions>, _strict: boolean): string; }