Interaction type definitions

interface InteractionType {
    canInitiate: ((initiator, target) => boolean);
    execute: ((initiator, target, context) => InteractionResult);
    id: string;
    name: string;
    priority: number;
    range: number;
}

Properties

canInitiate: ((initiator, target) => boolean)

Type declaration

    • (initiator, target): boolean
    • Parameters

      Returns boolean

execute: ((initiator, target, context) => InteractionResult)

Type declaration

id: string
name: string
priority: number
range: number