def iSeeSomeone(self): if(self.iSeeSomeoneFlag == False): SoundController.whistle(self.soundCtrlr) self.whereIsEveryoneFlag = False self.iSeeSomeoneFlag = True
def whistle(self): print("sound whistle") SoundController.whistle(self.soundCtrlr)