Example #1
0
 public bool Equals(BFS_Point point)
 {
     return(this.x == point.x &&
            this.y == point.y);
 }
Example #2
0
 private bool IsDest(BFS_Point point)
 {
     return(Convert(dest).Equals(point));
 }
Example #3
0
 private bool IsPassable(BFS_Point point)
 {
     return(passableMatrix[point.x, point.y]);
 }
Example #4
0
 private void SetNotPassAble(BFS_Point point)
 {
     passableMatrix[point.x, point.y] = false;
 }
Example #5
0
 public BFS_Status(BFS_Point point, Vector2D vector, BFS_Status lastStatus)
 {
     this.point      = point;
     this.vector     = vector;
     this.lastStatus = lastStatus;
 }