from PathFinder import *

class MyNode(SquareNode):
	def TestValid(self, c):
		return not (c[0] == 15 and c[1] == 15)
		# return not (c[0] == 15 and c[1] > 5 and c[1] < 30)

p = PathFinder()
a = MyNode((10, 10))
b = MyNode((20, 20))
for p in p.FindRoute(a, b):
	print p.coord


