<reponame>Augists/PythonForBeginners
#!/usr/bin/env python3
# encoding: utf-8
# coding style: pep8
# ====================================================
#   Copyright (C)2021 All rights reserved.
#
#   Author        : Augists
#   Email         : <EMAIL>
#   File Name     : settings.py
#   Last Modified : 2021-01-27 12:38
#
# ====================================================


class Settings():
    def __init__(self):
        """init game settings"""
        # screen settings
        self.screen_width = 1200
        self.screen_height = 800
        self.bg_color = (230, 230, 230)

        # ship settings
        self.ship_speed_factor = 1.5

        # bullet settings
        self.bullet_speed_factor = 1
        self.bullet_width = 3
        self.bullet_height = 15
        self.bullet_color = 60, 60, 60
        self.bullets_allowed = 5

#!/usr/bin/env python3
# encoding: utf-8
# coding style: pep8
# ====================================================
#   Copyright (C)2021 All rights reserved.
#
#   Author        : Augists
#   Email         : <EMAIL>
#   File Name     : settings.py
#   Last Modified : 2021-01-27 12:38
#
# ====================================================


class Settings():
    def __init__(self):
        """init game settings"""
        # screen settings
        self.screen_width = 1200
        self.screen_height = 800
        self.bg_color = (230, 230, 230)

        # ship settings
        self.ship_speed_factor = 1.5

        # bullet settings
        self.bullet_speed_factor = 1
        self.bullet_width = 3
        self.bullet_height = 15
        self.bullet_color = 60, 60, 60
        self.bullets_allowed = 5
#!/usr/bin/env python3 # encoding: utf-8 # coding style: pep8 # ==================================================== #   Copyright (C)2021 All rights reserved. # #   Author        : Augists #   Email         : <EMAIL> #   File Name     : settings.py #   Last Modified : 2021-01-27 12:38 # # ==================================================== init game settings # screen settings # ship settings # bullet settings