Traveller/scripts/GameSceneNodeHolder.cs
Cold-Mint 801b3dd93b
Supports the use of mouse wheel to switch currently held items.
支持使用鼠标滚轮切换当前持有的物品了。
2024-05-04 22:59:46 +08:00

29 lines
776 B
C#

using ColdMint.scripts.inventory;
using Godot;
namespace ColdMint.scripts;
/// <summary>
/// <para>The node holder within the game scene</para>
/// <para>游戏场景内的节点持有者</para>
/// </summary>
public class GameSceneNodeHolder
{
/// <summary>
/// <para>Player instances within the game scene</para>
/// <para>游戏场景内的玩家实例</para>
/// </summary>
public static Player? Player { get; set; }
/// <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; }
}