/// <summary> /// Is called whenever a new object appears within vision range of this Character /// </summary> public void OnEncountered(WorldObject obj) { if (obj != this) { obj.OnEncounteredBy(this); } KnownObjects.Add(obj); }
/// <summary> /// Is called whenever a new object appears within vision range of this Character /// </summary> public void OnEncountered(WorldObject obj) { if (obj != this) { obj.OnEncounteredBy(this); } KnownObjects.Add(obj); SendUnknownState(obj); }