Exemple #1
0
 public void setupStorage(Brain brain, Memory mem)
 {
     memory     = mem;
     this.brain = brain;
 }
Exemple #2
0
        public virtual bool ContainsUnit(Brain unit)
        {
            Dictionary <Brain, ModuleStorage> dict = (Dictionary <Brain, ModuleStorage>)memory.GetData(memoryName).value;

            return(dict.ContainsKey(unit));
        }
Exemple #3
0
 public override bool Init(Brain behaviourTree, Memory memory)
 {
     return(false);
 }
Exemple #4
0
 public void Init(Brain bt, Memory memory)
 {
     rootNode.Init(bt, memory);
 }
Exemple #5
0
 public abstract bool Init(Brain behaviourTree, Memory memory);