source: 2015/24/ohjaajat/Dungeon/Dungeon/Dungeon/Pathfinding/SearchParameters.cs @ 5967

Revision 5967, 762 bytes checked in by sieerinn, 5 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6using Point = Microsoft.Xna.Framework.Point;
7
8namespace AStar
9{
10    /// <summary>
11    /// Defines the parameters which will be used to find a path across a section of the map
12    /// </summary>
13    public class SearchParameters
14    {
15        public Point StartLocation { get; set; }
16
17        public Point EndLocation { get; set; }
18       
19        public bool[,] Map { get; set; }
20
21        public SearchParameters(Point startLocation, Point endLocation, bool[,] map)
22        {
23            this.StartLocation = startLocation;
24            this.EndLocation = endLocation;
25            this.Map = map;
26        }
27    }
28}
Note: See TracBrowser for help on using the repository browser.