Esempio n. 1
0
        private void Dbg1(string command, string[] args)
        {
            List <Vector2> openSpaces = this.planer.AnalyzeLocationInfo(Game1.currentLocation);


            this.controller = new PathFindController(this.junimo, Game1.currentLocation, StardewValley.Utility.Vector2ToPoint(openSpaces[0]), 2);

            this.locationInformationHelper = new LocationInformationHelper();

            IEnumerable <Building> animalBuildings = this.locationInformationHelper.GetAnimalFarmBuildings();

            this.locationInformationHelper.GetFarmAnimals(Game1.getFarm());

            this.locationInformationHelper.GetNearestChestsToFarmBuilding(animalBuildings.First());
        }
Esempio n. 2
0
        public Planner(IMonitor _monitor)
        {
            this.monitor = _monitor;

            this.locationInformationHelper = new LocationInformationHelper();
        }