intficpy/room.py
def contentsByClass(self, class_ref):
        """Get every Thing in the top level contents of this Room (i.e., not inside
        another Thing) that is an instance of a given Thing subclass. (For instance,
        get all top level Surfaces.)

        :param game: the current game
        :type game: IFPGame
        :param class_ref: the class to filter items on
        :type class_ref: type
        :rtype: list
        """
        return list(filter(lambda item: isinstance(item, class_ref), self.contentsList))
Get every Thing in the top level contents of this Room (i.e., not inside
        another Thing) that is an instance of a given Thing subclass. (For instance,
        get all top level Surfaces.)

        :param game: the current game
        :type game: IFPGame
        :param class_ref: the class to filter items on
        :type class_ref: type
        :rtype: list
        
Get every Thing in the top level contents of this Room  that is an instance of a given Thing subclass. (For instance,
get all top level Surfaces.)
Get every Thing in the top level contents of this Room that is an instance of a given Thing subclass . ( For instance get all top level Surfaces . )
def contentsByClass(self, class_ref):
        return list(filter(lambda item: isinstance(item, class_ref), self.contentsList))
def contentsByClass ( self , class_ref ) : return list ( filter ( lambda item : isinstance ( item , class_ref ) , self . contentsList ) )
Get every Thing in the top level contents of this Room (i.e., not inside
another Thing) that is an instance of a given Thing subclass.
Get every Thing in the top level contents of this Room ( i . e . not inside another Thing ) that is an instance of a given Thing subclass .
"""Get every Thing in the top level contents of this Room (i.e., not inside
        another Thing) that is an instance of a given Thing subclass. (For instance,
        get all top level Surfaces.)

        :param game: the current game
        :type game: IFPGame
        :param class_ref: the class to filter items on
        :type class_ref: type
        :rtype: list
        """
None
list
self
class_ref
the class to filter items on
the class to filter items on
game
the current game
the current game