Code cleanup in World.

Removed unused methods (rewritten FloodGenererator to get the free tiles
using a Stream invocation), and changed World.processEntities() to use
function references (like 'this::process') to prevent code duplication
and simplify and shorten the method significantly.