diff --git a/cowyeet.py b/cowyeet.py index 9f4b73f..254195f 100644 --- a/cowyeet.py +++ b/cowyeet.py @@ -3,8 +3,8 @@ import os import pygame import numpy -from tools import pg # if you import pg from tools, you dont need to init pygame. -from tools.file_dict import FileDict +from wobbl_tools import pg # if you import pg from tools, you dont need to init pygame. +from wobbl_tools.data_file import DictFile from physics.parabelfunc import berechneflugbahn @@ -105,10 +105,10 @@ class Cowyeet: def load_settings(self): if os.path.isfile("settings.txt"): # If the settings exist, load them into a dict. Else create the settings with the default values. - settings = FileDict("settings.txt") + settings = DictFile("settings.txt") else: - settings = FileDict() + settings = DictFile() settings.path = "settings.txt" settings["win_size"] = DEFAULT_WINDOW_SIZE settings["level_size_multiplier"] = 1