Traveller/scripts/GameSceneNodeHolder.cs

32 lines
890 B
C#
Raw Normal View History

using ColdMint.scripts.character;
using ColdMint.scripts.inventory;
2024-04-28 13:55:19 +00:00
using Godot;
namespace ColdMint.scripts;
/// <summary>
/// <para>The node holder within the game scene</para>
/// <para>游戏场景内的节点持有者</para>
/// </summary>
public static class GameSceneNodeHolder
2024-04-28 13:55:19 +00:00
{
/// <summary>
/// <para>Player instances within the game scene</para>
/// <para>游戏场景内的玩家实例</para>
/// </summary>
public static Player? Player { get; set; }
2024-04-28 13:55:19 +00:00
/// <summary>
/// <para>WeaponContainer</para>
/// <para>武器容器</para>
/// </summary>
public static Node2D? WeaponContainer { get; set; }
2024-04-28 13:55:19 +00:00
public static Node2D? PlayerContainer { get; set; }
public static HotBar? HotBar { get; set; }
2024-04-28 13:55:19 +00:00
public static HealthBarUi? HealthBarUi { get; set; }
public static RichTextLabel? OperationTipLabel { get; set; }
2024-04-28 13:55:19 +00:00
}