55 lines
1.5 KiB
C#
55 lines
1.5 KiB
C#
using ColdMint.scripts.character;
|
|
using ColdMint.scripts.inventory;
|
|
using Godot;
|
|
|
|
namespace ColdMint.scripts;
|
|
|
|
/// <summary>
|
|
/// <para>The node holder within the game scene</para>
|
|
/// <para>游戏场景内的节点持有者</para>
|
|
/// </summary>
|
|
public static 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; }
|
|
|
|
/// <summary>
|
|
/// <para>PlayerContainer</para>
|
|
/// <para>玩家容器</para>
|
|
/// </summary>
|
|
public static Node2D? PlayerContainer { get; set; }
|
|
|
|
/// <summary>
|
|
/// <para>AICharacterContainer</para>
|
|
/// <para>AICharacter角色</para>
|
|
/// </summary>
|
|
public static Node2D? AiCharacterContainer { get; set; }
|
|
|
|
/// <summary>
|
|
/// <para>HotBar</para>
|
|
/// <para>快捷栏</para>
|
|
/// </summary>
|
|
public static HotBar? HotBar { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <para>Health Bar UI</para>
|
|
/// <para>健康条UI</para>
|
|
/// </summary>
|
|
public static HealthBarUi? HealthBarUi { get; set; }
|
|
|
|
/// <summary>
|
|
/// <para>operation tip</para>
|
|
/// <para>操作提示</para>
|
|
/// </summary>
|
|
public static RichTextLabel? OperationTipLabel { get; set; }
|
|
} |