The reason for the sound is ignored

The problem of the implementation in the lecture is that the reason for the sound is ignored. There is a lock on the door. When the door is about to close, the lock makes the sound. By the way, two helper variables are added to the header file.

My suggestion is the following.


1 Like

Privacy & Terms