UNPKG

@casual-simulation/aux-runtime

Version:
17 lines 904 B
import type { BotTags, BotSpace, Bot, BotSignatures, RuntimeBot } from '@casual-simulation/aux-common/bots'; import type { RuntimeBotInterface, RuntimeBotFactory } from '../RuntimeBot'; import { RealtimeEditMode } from '../RuntimeBot'; export declare class TestScriptBotFactory implements RuntimeBotFactory { createRuntimeBot(bot: Bot): RuntimeBot; destroyScriptBot(): RealtimeEditMode; } /** * Creates a dummy script bot. * That is, a bot which uses the given values directly and does not marshall changes back to a runtime. * @param id The ID of the bot. * @param tags The tags the bot should have. * @param space The space of the bot. */ export declare function createDummyRuntimeBot(id: string, tags?: BotTags, space?: BotSpace, signatures?: BotSignatures): RuntimeBot; export declare const testScriptBotInterface: RuntimeBotInterface; //# sourceMappingURL=TestScriptBotFactory.d.ts.map