create basic room object class

This commit is contained in:
yuki 2025-11-24 05:56:30 -03:00
parent 1ae389ff42
commit 85795d9708
2 changed files with 10 additions and 0 deletions

View file

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

View file

@ -0,0 +1 @@
uid://ccawks66thcw2