Is floor used to mean the same thing in the next two sentences?

The whole floor complained about the lack of heat.

The room has a wooden floor.
different meanings