15 lines
567 B
TypeScript
15 lines
567 B
TypeScript
import AI from "../DataTypes/Interfaces/AI";
|
|
import StateMachine from "../DataTypes/State/StateMachine";
|
|
import GameEvent from "../Events/GameEvent";
|
|
import GameNode from "../Nodes/GameNode";
|
|
|
|
/**
|
|
* A version of a @reference[StateMachine] that is configured to work as an AI controller for a @reference[GameNode]
|
|
*/
|
|
export default class StateMachineAI extends StateMachine implements AI {
|
|
/** The GameNode that uses this StateMachine for its AI */
|
|
protected owner: GameNode;
|
|
|
|
// @implemented
|
|
initializeAI(owner: GameNode, config: Record<string, any>): void {}
|
|
} |