methodwhich takes only one argumenta color creating settings class each time we introduce new functionality into our gamewe'll typically introduce some new settings as well instead of adding settings throughout the codelet' write module called settings that contains class called settings to store all the settings in one place this approach allows us to pass around one settings object instead of many individual settings in additionit makes our function calls simpler and makes it easier to modify the game' appearance as our project grows to modify the gamewe'll simply change some values in settings py instead of searching for different settings throughout our files here' the initial settings classsettings py class settings()""" class to store all settings for alien invasion ""def __init__(self)"""initialize the game' settings ""screen settings self screen_width self screen_height self bg_color ( to make an instance of settings and use it to access our settingsmodify alien_invasion py as followsalien_ invasion py --snip-import pygame from settings import settings def run_game()initialize pygamesettingsand screen object pygame init( ai_settings settings( screen pygame display set_mode(ai_settings screen_widthai_settings screen_height)pygame display set_caption("alien invasion" start the main loop for the game while true--snip-redraw the screen during each pass through the loop screen fill(ai_settings bg_colormake the most recently drawn screen visible pygame display flip(run_game( ship that fires bullets