Entity-Component based game engine in Java