SzybciorSmartTraktor/settings.py
2022-03-11 03:34:20 +01:00

37 lines
668 B
Python

class Field:
@staticmethod
def size():
return 50
@staticmethod
def horizontal_count():
return 24
@staticmethod
def vertical_count():
return 16
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