def adjustRewards(self, rewards):
        """

        Adjusts the rewards the game gives the agent

        Parameters
        ----------
        rewards : dict
            A dictonary of reward events to float rewards. Only updates if key matches those specificed in the init function. 

        """
        for key in rewards.keys():
            if self.rewards in key:
                self.rewards[key] = rewards[key]
dataset/ETHPy150Open ntasfi/PyGame-Learning-Environment/ple/games/base.py/Game.adjustRewards/swapped operands of `in`