In For a Penny 0 ▲ ronjeffries.com 3 hours ago · Tech · hide · 0 comments Hello, loves! I’ve decided to commit this and refactor. Can always reset if I have to. General rule: try always to move forward. We’ll begin with some tests for what we have. What do we have? I don’t know, that was hours ago. Here’s just the DungeonView init, evidence that all is not well: class DungeonView(arcade.View): def __init__(self, dungeon, testing=False): if not testing: super().__init__() self.dungeon = dungeon self.pub_sub = dungeon.pub_sub self.subscribe(dungeon, self.pub_sub) self.setup_assets() self.key_lock = None self.room_sprite_list = None self.content_views: dict[Content, ContentView] = dict() self.content_views_by_room: dict[Room, list[ContentView]] = dict() self.content_views_by_cell: dict[Cell, list[ContentView]] = defaultdict(list) self.room_views: dict[Room, RoomView] = dict() self.cell_sprites: dict[Cell, Sprite] = dict() self.illuminated_cells: set[Cell] = set() self.content_sprite_list = None self.dungeon_camera = None self.dungeon_camera_bounds = None… No comments yet. Log in to reply on the Fediverse. Comments will appear here.