interaction map type
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user