#ifndef _PATHSEARCH_H_
#define _PATHSEARCH_H_
#include "mydef.h"
#endif
/*
searches the path in the maze and marks every free position with the best action to take
returns 0 if there is no path from actuall position p to goal g
0 North
-1 West
-2 South
-3 East
*/

int PathSearch(int m[X_MAZE][Y_MAZE],MazePositionType p,MazePositionType g);



