class Field: @staticmethod def size(): return 50 @staticmethod def horizontal_count(): return 11 @staticmethod def vertical_count(): return 11 class Pygame: @staticmethod def display_name(): return 'Szybcior Sztucznie Inteligentny Traktor' @staticmethod def fps(): return 10 @staticmethod def height(): return Field.vertical_count() * Field.size() @staticmethod def width(): return Field.horizontal_count() * Field.size() class Setting: def __init__(self, key, default_value): self.key = key self.default_value = default_value