feat: animations working
This commit is contained in:
parent
2a9e824a9e
commit
2445a71f0c
63 changed files with 3023 additions and 1408 deletions
|
@ -114,8 +114,8 @@ func _load_game():
|
|||
|
||||
func _instantiate_dragon_ingame(window_position: Vector2, properties: DragonProperties) -> DragonEntity:
|
||||
var dragon: DragonEntity = dragon_ingame.instantiate()
|
||||
dragon.dress(properties)
|
||||
add_child(dragon)
|
||||
dragon.dress(properties)
|
||||
dragon.properties = properties
|
||||
dragon.position = window_position
|
||||
dragon.on_pick.connect(_pick_dragon)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue