2024-05-07 11:36:06 +00:00
|
|
|
|
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>
|
2024-05-07 11:36:06 +00:00
|
|
|
|
public static class GameSceneNodeHolder
|
2024-04-28 13:55:19 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Player instances within the game scene</para>
|
|
|
|
|
/// <para>游戏场景内的玩家实例</para>
|
|
|
|
|
/// </summary>
|
2024-05-04 14:59:46 +00:00
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
public static HotBar HotBar { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static HealthBarUi HealthBarUi { get; set; }
|
|
|
|
|
public static Label OperationTipLabel { get; set; }
|
|
|
|
|
}
|