Player can take quests, Adventurers in progress.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class_name Guildhall extends Node2D
|
||||
|
||||
var employees : Dictionary[String, GuildEmployee] = {}
|
||||
var interactables : Dictionary[String, Interactable] = {}
|
||||
var board : QuestBoard
|
||||
@onready var sprite_node : Node2D = $Sprites
|
||||
@onready var nav_region : NavigationRegion2D = $RoomRegion
|
||||
@@ -14,7 +15,9 @@ func _ready() -> void:
|
||||
|
||||
func register_employee(employee: GuildEmployee) -> void:
|
||||
employees[employee.name] = employee
|
||||
|
||||
|
||||
func register_interactables(equipment: Interactable) -> void:
|
||||
interactables[equipment.name] = equipment
|
||||
|
||||
func add_sprite(sprite : Adventurer) -> void:
|
||||
sprite_node.add_child(sprite)
|
||||
|
||||
Reference in New Issue
Block a user