feat: instantiate dragons in different spots
This commit is contained in:
parent
029ad6d45f
commit
48b6cd42cf
2 changed files with 15 additions and 6 deletions
|
@ -40,9 +40,5 @@ func _on_change_shoes_pressed() -> void:
|
|||
func _on_create_pressed() -> void:
|
||||
if dragon_name.text.is_empty():
|
||||
return
|
||||
var result: String = CodeGenerator.new(hat_outfits, shirt_outfits, shoes_outfits).encrypt(hat.texture, shirt.texture, shoes.texture, dragon_name.text)
|
||||
print(result)
|
||||
var decrypted: Dictionary = CodeGenerator.new(hat_outfits, shirt_outfits, shoes_outfits).descrypt(result)
|
||||
print(decrypted)
|
||||
on_create_dragon.emit(hat.texture, shirt.texture, shoes.texture, dragon_name.text)
|
||||
queue_free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue