Add ink integration UI and media playback
This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
import { TurnResult } from '../interfaces/turn-result';
|
||||
export interface InkCompileResult {
|
||||
sourcePath: string;
|
||||
outputPath: string;
|
||||
warningCount: number;
|
||||
}
|
||||
export declare function compileInkSource(sourcePath: string, outputPath: string): InkCompileResult;
|
||||
export declare class InkEngine {
|
||||
private readonly storyPath;
|
||||
private story;
|
||||
private nextTurnId;
|
||||
constructor(storyPath: string);
|
||||
isRunning(): boolean;
|
||||
newGame(): TurnResult;
|
||||
chooseChoice(choiceIndex: number): TurnResult;
|
||||
saveGame(): string;
|
||||
loadGame(savedState: string): TurnResult;
|
||||
private loadStory;
|
||||
private continueStory;
|
||||
}
|
||||
Reference in New Issue
Block a user