Fixed engine import

This commit is contained in:
Adastram 2024-01-11 10:50:54 +01:00
parent f5c1f8bc63
commit ce14e45e8f

View file

@ -1,12 +1,10 @@
import json import json
from types import FunctionType from types import FunctionType
import src.engine.engine as engine
from src.engine.engine import Engine
class DialogsManager: class DialogsManager:
"""Classe qui gère la lecture des dialogues.""" """Classe qui gère la lecture des dialogues."""
def __init__(self, engine: 'Engine'): def __init__(self, engine: 'engine.Engine'):
self.engine = engine self.engine = engine
self.current_dialogs = [] self.current_dialogs = []
self.current_dialog_id = -1 self.current_dialog_id = -1