Ejemplo n.º 1
0
        public void init(int height, int width)
        {
            DefaultPathfinderParams parms = new DefaultPathfinderParams();

            parms.Height        = height;
            parms.Width         = width;
            this.pathFinder     = new DefaultPathFinder(parms);
            this.PlayerDetected = false;
        }
Ejemplo n.º 2
0
        public void init(int height, int width)
        {
            DefaultPathfinderParams parms = new DefaultPathfinderParams();

            parms.Height                   = height;
            parms.Width                    = width;
            parms.AllowCornerCutting       = false;
            parms.DirectionRestrictionType = BasePathFinder.RestrictionType.Restricted;
            this.pathFinder                = new DefaultPathFinder(parms);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Builds a DefaultPathFinder
 /// </summary>
 /// <param name="parms">DefaultPathFinderParams object containing the data required to build the PathFinder</param>
 public DefaultPathFinder(DefaultPathfinderParams parms)
     : base(parms)
 {
 }