interaction map type

This commit is contained in:
2026-03-15 13:10:13 +01:00
parent 621659a352
commit 57b753a6b5
7 changed files with 2854 additions and 9 deletions

View File

@@ -1,12 +1,16 @@
import { Chibi } from "../../types/chibi/chibi";
import { EChibiInteraction } from "../../types/chibi/chibi-interaction";
import { Food } from "../../types/food";
import { RandomService } from "../random.service";
export interface IBrain {
init(chibi: Chibi): void;
//function for time passegs + autonomous state changes
// 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: EChibiInteraction, item?: Food): void
}