15 lines
485 B
TypeScript
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
|
|
} |