setDoorsOpen

open fun setDoorsOpen(isOpen: Boolean)(source)

Parameters

isOpen

must be true if the user wants all the four exits of the room to be open. If false, only two passages will be available.