UNPKG

prendy

Version:

Make games with prerendered backdrops using babylonjs and repond

29 lines (28 loc) 881 B
import { MyTypes } from "../declarations"; import { Point2D } from "chootils/dist/points2d"; import { CharacterName } from "../types"; export default function miniBubbles<T_MyTypes extends MyTypes = MyTypes>(prendyAssets: T_MyTypes["Assets"]): { getDefaultState: <T_ItemName extends string>(_itemId: T_ItemName, options?: { character?: CharacterName; }) => { isVisible: boolean; isFullyHidden: boolean; text: string; forCharacter: string | null; position: Point2D; }; getDefaultRefs: () => { bubbleRef: any; textRef: any; videoRef: HTMLVideoElement | null; }; startStates: { [x: string]: { isVisible: boolean; isFullyHidden: boolean; text: string; forCharacter: string | null; position: Point2D; }; }; };