From afc66d3013b7d47c6c22d6a99809bc3e7d1ff0dc Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 24 Oct 2024 14:44:20 +0200 Subject: implement breadth-first search pathfinding --- XY.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'XY.h') diff --git a/XY.h b/XY.h index 2aac824..839e19f 100644 --- a/XY.h +++ b/XY.h @@ -9,5 +9,7 @@ struct XY { XY operator - (const XY &) const; XY& operator += (const XY &); XY& operator -= (const XY &); + bool operator == (const XY& other) const; + bool operator != (const XY& other) const; }; -- cgit v1.2.3