lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
22 lines (21 loc) • 639 B
TypeScript
import IAppendable from "./IAppendable";
import { ExtractProps } from "./utils/extractProps";
import Nullable from "./utils/Nullable";
export type GameGraphNode = {
type: "node";
x: number;
y: number;
};
export type GameGraphData = Record<string, //uuid
//uuid
GameGraphNode | {
type: "connector";
from: string;
to: string;
}>;
export default interface IGameGraph extends IAppendable {
paused: boolean;
data: Nullable<GameGraphData>;
}
export declare const gameGraphSchema: Required<ExtractProps<IGameGraph>>;
export declare const gameGraphDefaults: Partial<import("./utils/Defaults").default<IGameGraph>>;