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>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
public static Node2D? WeaponContainer { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
2024-05-31 14:26:38 +00:00
|
|
|
|
public static Node2D? PlayerContainer { get; set; }
|
|
|
|
|
|
2024-05-08 10:22:04 +00:00
|
|
|
|
public static HotBar? HotBar { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
|
|
|
2024-05-08 10:22:04 +00:00
|
|
|
|
public static HealthBarUi? HealthBarUi { get; set; }
|
2024-05-09 13:07:14 +00:00
|
|
|
|
public static RichTextLabel? OperationTipLabel { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
}
|