Need help with sketch structure and if/else if function

But if room2doors in enum isn't the same as void room2doors() how will the sketch know to fetch the latter from the room2doors.h file?
It seems really counter-intuitive that they should not have the same name.

Is it safe to assume that Room2doors is sufficient to distinguish from room2doors?

Anyway, thanks again.
I'll try some more permutations tomorrow...