code refactor
This commit is contained in:
parent
1763cbc234
commit
54bcc2036a
@ -1,4 +1,5 @@
|
||||
import os
|
||||
|
||||
import pygame as pg
|
||||
|
||||
from image import Image
|
||||
|
@ -1,11 +1,10 @@
|
||||
import string
|
||||
from typing import Union
|
||||
|
||||
from pygame import image
|
||||
|
||||
|
||||
class Image:
|
||||
def __init__(self, parent: int, name: string, img: image, mine_type: Union[str, None]):
|
||||
def __init__(self, parent: int, name: str, img: image, mine_type: Union[str, None]):
|
||||
self.parent = parent
|
||||
self.img = img
|
||||
self.mine_type = mine_type
|
||||
|
@ -1,8 +1,8 @@
|
||||
import queue
|
||||
from typing import List
|
||||
|
||||
from search_algoritms.node import Node
|
||||
from src.tile import Tile
|
||||
from search_algoritms.node import Node
|
||||
from .helpers import successor, get_path_actions
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
from typing import List, Tuple
|
||||
|
||||
from search_algoritms.node import Node
|
||||
from src.tile import Tile
|
||||
from search_algoritms.node import Node
|
||||
from .helpers import successor, get_path_actions_a_star, calculate_priority
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user