2023-12-09 07:49:33 +00:00
|
|
|
using Godot;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
public partial class hud : Control
|
|
|
|
|
{
|
|
|
|
|
public Label Score = new();
|
2024-08-15 21:55:44 +00:00
|
|
|
public Label FlightAssist = new();
|
2023-12-09 07:49:33 +00:00
|
|
|
|
|
|
|
|
public override void _Ready()
|
|
|
|
|
{
|
|
|
|
|
Score = GetNode<Label>("Score");
|
|
|
|
|
Score.Text = "SCORE: 0";
|
2024-08-15 21:55:44 +00:00
|
|
|
// Keeping health being initialised in game.cs
|
|
|
|
|
|
|
|
|
|
FlightAssist = GetNode<Label>("FlightAssist");
|
|
|
|
|
FlightAssist.Text = "FA: ON"; // Should be on by default
|
2023-12-09 07:49:33 +00:00
|
|
|
}
|
|
|
|
|
}
|