sorry for the late response, yeah was my first idea too. But then it goes into the direction of OpenDoor and ClosedDoor, so using inheritance. And a door is more than its state I’d say.
And without inheritance would be impossible to do it compile-time safe I’d argue. Let e know your thoughts