![]() |
Grail (C#)
1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Entity's "brain", assigns them behaviors chosen by user-defined algorithms. More...

Public Member Functions | |
| abstract void | StageBehavior (AIEntity entity) |
| Runs reasoner's selection algorithm and assigns chosen behavior to provided entity. More... | |
| virtual ISnapshotGenerator | CreateSnapshotGenerator (int entityId) |
| virtual void | ClearCache () |
| Called when assigning this reasoner to an entity. Clears internally stored data, which may be invalidated when assigned to a different entity. THIS METHOD SHOULD NOT BE CALLED BY THE USER. IT IS PUBLIC SO THAT THIS METHOD CAN BE USED BY ENTITY AND OVERRIDEN IN DIFFERENT MODULE More... | |
Entity's "brain", assigns them behaviors chosen by user-defined algorithms.
|
inlinevirtual |
Called when assigning this reasoner to an entity. Clears internally stored data, which may be invalidated when assigned to a different entity. THIS METHOD SHOULD NOT BE CALLED BY THE USER. IT IS PUBLIC SO THAT THIS METHOD CAN BE USED BY ENTITY AND OVERRIDEN IN DIFFERENT MODULE
Reimplemented in Grail.Planners.Reasoners.PlannerReasoner, Grail.SimulatedGames.Reasoners.SimulatedGameReasoner, and Grail.Utility.Reasoners.UtilityReasoner.
|
pure virtual |
Runs reasoner's selection algorithm and assigns chosen behavior to provided entity.
| entity |
Implemented in Grail.SimulatedGames.Reasoners.SimulatedGameReasoner, Grail.Planners.Reasoners.PlannerReasoner, and Grail.Utility.Reasoners.UtilityReasoner.