reogranized imports
This commit is contained in:
14
renderer.py
14
renderer.py
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user