reogranized imports

This commit is contained in:
2024-03-24 11:33:34 +01:00
parent dd2ffebca2
commit 5a4d30e162
9 changed files with 25 additions and 8 deletions

View File

@@ -1,16 +1,19 @@
from __future__ import annotations
import os
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from config import Config
from range import Range
from schema import InstructionSetSchema
import pygame
from structure import Structure
from vec import Vec
if TYPE_CHECKING:
from config import Config
from range import Range
from schema import InstructionSetSchema
class Renderer:
WIDTH = 1200
HEIGHT = 800
@@ -45,8 +48,7 @@ class Renderer:
def drawStructure(self,
struct: Structure,
structures: dict[str,
Structure],
structures: dict[str, Structure],
ox: float = 0,
oy: float = 0) -> float: