Traveller/scripts/GameSceneNodeHolder.cs
Cold-Mint 74c85cd5a7
Support for generating creatures on the map, adding the game end screen.
支持在地图上生成生物了,加入了游戏结束的画面。
2024-06-03 22:58:59 +08:00

38 lines
1.0 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; }
public static Node2D? PlayerContainer { get; set; }
/// <summary>
/// <para>AICharacterContainer</para>
/// <para>AICharacter角色</para>
/// </summary>
public static Node2D? AICharacterContainer { get; set; }
public static HotBar? HotBar { get; set; }
public static HealthBarUi? HealthBarUi { get; set; }
public static RichTextLabel? OperationTipLabel { get; set; }
}