 			return node.walkable;
 		};
 		
-		public function setWalkable(pIndexX:uint, pIndexY:uint):void {
+		public function setWalkable(pIndexX:int, pIndexY:int):void {
 			var node:Node     = _pathgrid.take(pIndexX, pIndexY) as Node;
 
             if (!node) {

				}
			}
		};
		
		public function isWalkable(pIndexX:uint, pIndexY:uint):Boolean {
			var node:Node = _pathgrid.take(pIndexX, pIndexY) as Node;
			
			if (!node) {

	
	
	public final class Pathfinder {
		private static const X:int = 0;
		private static const Y:int = 1;
		
		public var algorithm:Algorithm;
		
