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-06-05 13:38:45 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>PlayerContainer</para>
|
|
|
|
|
/// <para>玩家容器</para>
|
|
|
|
|
/// </summary>
|
2024-05-31 14:26:38 +00:00
|
|
|
|
public static Node2D? PlayerContainer { get; set; }
|
|
|
|
|
|
2024-06-03 14:58:59 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>AICharacterContainer</para>
|
|
|
|
|
/// <para>AICharacter角色</para>
|
|
|
|
|
/// </summary>
|
2024-06-05 13:38:45 +00:00
|
|
|
|
public static Node2D? AiCharacterContainer { get; set; }
|
2024-06-03 14:58:59 +00:00
|
|
|
|
|
2024-06-05 13:38:45 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>HotBar</para>
|
|
|
|
|
/// <para>快捷栏</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
public static HotBar? HotBar { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
|
|
|
2024-06-05 13:38:45 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Health Bar UI</para>
|
|
|
|
|
/// <para>健康条UI</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
public static HealthBarUi? HealthBarUi { get; set; }
|
2024-06-05 13:38:45 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>operation tip</para>
|
|
|
|
|
/// <para>操作提示</para>
|
|
|
|
|
/// </summary>
|
2024-05-09 13:07:14 +00:00
|
|
|
|
public static RichTextLabel? OperationTipLabel { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
}
|