Closed JasonKDarby closed 2 years ago
I believe this needs changing on line 149 as well.
And a +1 for this pull request - I was about to make the same request, so you saved me some time :)
Hi! I've just opened another pull request on that issue: https://github.com/libgdx/gdx-ai/pull/105
My solution is a little bit more general and maintains backward compatibility with older versions of the library, where identity check was used. Please, check it too.
This is effectively possible now via a StopCondition added by #105 . There's a EqualsMethodStopCondition available by default now, which should act like this PR does. Thanks for waiting this out so long!
I ran across the issue described in #67 and thought you might consider it more if I went ahead and put up a PR :D