Exemplo n.º 1
0
        public virtual bool Init(Brain brain, Memory memory)
        {
            setupStorage(brain, memory);

            while (!memory.AddData(memoryName, new Dictionary <Brain, ModuleStorage>()))
            {
                memoryName += ".";
            }

            Data data = memory.GetData(memoryName);

            memoryID = data.ID;

            return(true);
        }