Ejemplo n.º 1
0
        public void Awake()
        {
            entity     = GetComponent <Entity>();
            decisions  = new List <Decision>();
            scoreQueue = new FastPriorityQueue <ScoreNode>(1000);

            if (packageCreator != null)
            {
                package = packageCreator.Create();
                decisions.AddRange(package.decisions);
            }
        }
        public void Awake() {

            entity = GetComponent<Entity>();
            decisions = new List<Decision>();
            scoreQueue = new FastPriorityQueue<ScoreNode>(1000);

            if (packageCreator != null) {
                package = packageCreator.Create();
                decisions.AddRange(package.decisions);
            }

        }