public TestBookXML() { GQHSMManager manager = GQHSMManager.Instance; _theHSM = manager.LoadFromXML("book.xml"); _theHSM.Init(this); }
public ClassHandler(string Name, MyLogger logger) { _theHSM = _manager.LoadFromXML("XMLStateMachines" + Path.DirectorySeparatorChar + Name + ".xml"); // attach the logger to this HSM. if (_theHSM != null) { logger.InitLogger(_theHSM); } }
public TestZombieXML() { GQHSMManager manager = GQHSMManager.Instance; _theHSM = manager.LoadFromXML("ZombieAI.xml"); // let's hook into the debugging _mLogger.InitLogger(_theHSM); _theHSM.Init(this); }