#NEWLINE# def at_object_receive( self , new_arrival , source_location ) : #NEWLINE# #INDENT# '\n        When an object enter a tutorial room we tell other objects in\n        the room about it by trying to call a hook on them. The Mob object\n        uses this to cheaply get notified of enemies without having\n        to constantly scan for them.\n\n        Args:\n            new_arrival (Object): the object that just entered this room.\n            source_location (Object): the previous location of new_arrival.\n\n        ' #NEWLINE# if ( new_arrival . has_player and ( not obj . is_superuser ) ) : #NEWLINE# #INDENT# for obj in self . contents_get ( exclude = new_arrival ) : #NEWLINE# #INDENT# if hasattr ( obj , 'at_new_arrival' ) : #NEWLINE# #INDENT# obj . at_new_arrival ( new_arrival )