class_name RoomObject extends Node2D var room: Room func _ready() -> void: room = owner as Room assert(room != null, 'could not get owner as room')