17 lines
689 B
GDScript
17 lines
689 B
GDScript
extends SubViewportContainer
|
|
|
|
var current_player_placeholder: Node3D = null
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
#current_player_placeholder = GameServerManager.get_current_player_placeholder()
|
|
pass # Replace with function body.
|
|
|
|
@onready var health_indicator: Label = $SubViewport/HUD/HealthIndicator
|
|
@onready var fps_indicator: Label = $SubViewport/HUD/FPS
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
#if current_player_placeholder:
|
|
#health_indicator.text = str(current_player_placeholder.health)
|
|
#fps_indicator.text = str(Engine.get_frames_per_second())
|
|
pass
|