Files
forgotten-friends/src/app/logic/chibi-behaviour/brain.ts
2026-03-15 19:26:12 +01:00

15 lines
485 B
TypeScript

import { Chibi } from "../../types/chibi/chibi";
import { RandomService } from "../random.service";
import { ChibiInteraction } from "./brains/aperio.brain";
export interface IBrain {
// function to set up the initial state
init(chibi: Chibi, randomService: RandomService): void;
// function for time passegs + autonomous state changes
exist(): void;
// function which resolves all interactions
resolveInteraction(interaction: ChibiInteraction<any>): void
}