An RPG engine in Java