PurpleKingdomGames / indigo

An FP game engine for Scala.
https://indigoengine.io/
MIT License
611 stars 56 forks source link

BoundaryLocator interface for testing #742

Open davesmith00000 opened 1 month ago

davesmith00000 commented 1 month ago

Currently you can't produce a fake framecontext (of any type) because you cannot make a BoundaryLocator. If BoundaryLocator became an interface then the side effects can happen in the concrete instance and fake versions can be stubbed out for testing.