flame-engine / radiance

This library is a collection of AI algorithms used in games.
MIT License
22 stars 3 forks source link

test: Added closeToVector utility function #3

Closed st-pasha closed 2 years ago

st-pasha commented 2 years ago

I wasn't able to use new version of flame_test, because it depends on Flutter SDK, and we want Radiance to be a pure-Dart project.

The interim solution is to simply copy the closeToVector method over from flame_test, and use that. In the future we might be able to use flame_test directly.

spydon commented 2 years ago

Can we make flame_test not be dependent on flutter?

st-pasha commented 2 years ago

Can we make flame_test not be dependent on flutter?

I don't think so -- it has some methods for testing FlameGame, which depend both on Flutter and on Flame.