collision.setName("collision");
LayerDefinition protection = new LayerDefinition(width, height);
protection.setName("protection");
StendhalMapStructure map = new StendhalMapStructure(width, height);
map.addLayer(floor);
map.addLayer(terrain);
map.addLayer(object);
map.addLayer(roof);
map.addLayer(collision);
map.addLayer(protection);
generateCollisions(collision);
// solves client caching, but makes other trouble
//String md5 = Hash.toHexString(Hash.hash(collision.exposeRaw()));