Rostock and Warnemuende are well connected by public transport. There is a train and a S-Bahn (how do I say?, a tube but in the outer areas not subterranean )

It can only be a few Euros to get from W. to Rostock.

I go looking for a picture of the waterfront

www.hansesail.com/images/stadthafen.jpg