예제 #1
0
        public TestBookXML()
        {
            GQHSMManager manager = GQHSMManager.Instance;

            _theHSM = manager.LoadFromXML("book.xml");
            _theHSM.Init(this);
        }
예제 #2
0
 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);
     }
 }
예제 #3
0
        public TestZombieXML()
        {
            GQHSMManager manager = GQHSMManager.Instance;

            _theHSM = manager.LoadFromXML("ZombieAI.xml");
            // let's hook into the debugging

            _mLogger.InitLogger(_theHSM);

            _theHSM.Init(this);
        }