Traveller/scripts/GameSceneNodeHolder.cs
Cold-Mint db402ab7b2
Supports spawning players at birth points.
支持将玩家生成在出生点。
2024-05-31 22:26:38 +08:00

32 lines
890 B
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; }
public static Node2D? PlayerContainer { get; set; }
public static HotBar? HotBar { get; set; }
public static HealthBarUi? HealthBarUi { get; set; }
public static RichTextLabel? OperationTipLabel { get; set; }
}