@casual-simulation/aux-runtime
Version:
Runtime for AUX projects
17 lines • 904 B
TypeScript
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