def __init__(self, portal):
        """Store portal, engine, and rulebook."""
        super().__init__(portal.engine, portal.rulebook)
        self.portal = portal
def __init__ ( self , portal ) : super ( ) . __init__ ( portal . engine , portal . rulebook ) self . portal = portal
Store portal, engine, and rulebook.