More work on maps and multiplayer
This commit is contained in:
@@ -8,9 +8,11 @@ class_name PawnBody extends Node3D
|
||||
@onready var struggle_ui : Sprite3D = %StruggleUI
|
||||
@onready var struggle_bar : ProgressBar = %StruggleBar
|
||||
|
||||
@rpc("call_local")
|
||||
func play_animation(anim_name : String) -> void:
|
||||
anim_player.play(anim_name)
|
||||
|
||||
@rpc("call_local")
|
||||
func show_struggle() -> void:
|
||||
struggle_ui.visible = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user