diff --git a/scripts/character.gd b/scripts/character.gd index be1d010..c9ba38d 100644 --- a/scripts/character.gd +++ b/scripts/character.gd @@ -1,6 +1,7 @@ class_name Character extends Node2D +# TODO: do the thing @export var charName := "Character" @export var maxHealth := 10 diff --git a/scripts/test_scene.gd b/scripts/test_scene.gd index 02522ed..c56726d 100644 --- a/scripts/test_scene.gd +++ b/scripts/test_scene.gd @@ -11,7 +11,7 @@ func _on_exit_button_pressed() -> void: func _on_test_button_pressed() -> void: var rand_difficulty = NPC.npcDifficulties.values().pick_random() var rand_tier = NPC.npcTiers.values().pick_random() - var anNPC = NPC.new(rand_difficulty, rand_tier) + var anNPC = NPC.new() %TestNMEMaxHealthVal.text = str(anNPC.maxHealth) #TestEMaxHealthVal.label_settings = LabelSettings.new() %TestNMEName.text = str(NPC.npcDifficulties.find_key(anNPC.npcDifficulty))