Example #1
0
        private void addMinion(Location l)
        {
            BFSminion m = new BFSminion(Grid, l);

            Grid.Set(m, l);
            this.RecruitMinions.Add(m);
        }
Example #2
0
        private void InitialStepWithNoMinions()
        {
            foreach (Location l in Location.GetOrthogonalLocations(Grid))
            {
                if ((Grid.Get(l) == null))
                {
                    BFSminion m = new BFSminion(Grid, l);
                    Grid.Set(m, l);
                    this.CurrentMinions.Add(m);
                }
            }

            this.Phase++;
            this.Steps++;
        }