UNPKG

@rbxts/mechanism

Version:

An elegant composable input library for Roblox

10 lines (9 loc) 376 B
import { BaseID } from "@rbxts/id"; import Destroyable from "@rbxts/destroyable"; export declare abstract class BaseAction extends Destroyable implements BaseID<string | number> { readonly id: string | number; readonly processed: boolean; readonly callbacks: Callback[]; /** @hidden */ abstract handleInput(input: InputObject, processed: boolean): void; }