Grail (C#)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Core.EntityGroup Class Reference

Public Member Functions

 EntityGroup (string name, params(AIEntity entity, int relativePriority)[] entityEntries)
 
AIEntity GetEntity (string name)
 

Static Public Member Functions

static void ResetNextGroupId (int nextId=0)
 Resets available EntityGroup Id. Useful when the game has ended but entities were not destroyed, like ending Play in Editor or soft resetting a level More...
 

Properties

string Name [get]
 
int Id [get]
 
List<(AIEntity entity, int relativePriority)> EntityEntries = nextGroupId++ [get]
 
List<(string name, Blackboard blackboard)> GroupBlackboards = new() [get]
 
List<(AIEntity entity, List< string > globalBlackboardNames)> GlobalBlackboardMapping = new() [get]
 

Member Function Documentation

◆ ResetNextGroupId()

static void Grail.Core.EntityGroup.ResetNextGroupId ( int  nextId = 0)
inlinestatic

Resets available EntityGroup Id. Useful when the game has ended but entities were not destroyed, like ending Play in Editor or soft resetting a level

Parameters
nextIdNext available entity group id

The documentation for this class was generated from the following file: