Tried some stuff. The cave and portal should be defined in TMX map and created in TmxLevelLoader.