protected override void Dispose(bool disposing) { if (disposing) { fKinsfolks.Dispose(); fKinsfolks = null; } base.Dispose(disposing); }
private void ShowGoals() { NWField fld = GlobalVars.nwrGame.Player.CurrentField; LocatedEntityList cl = (fld).Creatures; int num = cl.Count; for (int i = 0; i < num; i++) { NWCreature c = (NWCreature)cl.GetItem(i); AddMessage(c.Name + ": " + Convert.ToString(c.Brain.GoalsCount)); } }
public BeastBrain(CreatureEntity owner) : base(owner) { fKinsfolks = new LocatedEntityList(null, false); }