using CustomComponent;
using GeometryTD.CustomComponent;
///
/// 游戏入口。
///
public partial class GameEntry
{
public static BuiltinDataComponent BuiltinData { get; private set; }
public static PlayerInventoryComponent PlayerInventory { get; private set; }
public static HPBarComponent HPBar { get; private set; }
public static UIRouterComponent UIRouter { get; private set; }
public static EventNodeComponent EventNode { get; private set; }
public static CombatNodeComponent CombatNode { get; private set; }
public static ShopNodeComponent ShopNode { get; private set; }
public static ResolutionAdapterComponent ResolutionAdapter { get; private set; }
public static SpriteCacheComponent SpriteCache { get; private set; }
public static InventoryGenerationComponent InventoryGeneration { get; private set; }
private static void InitCustomComponents()
{
BuiltinData = UnityGameFramework.Runtime.GameEntry.GetComponent();
PlayerInventory = UnityGameFramework.Runtime.GameEntry.GetComponent();
HPBar = UnityGameFramework.Runtime.GameEntry.GetComponent();
UIRouter = UnityGameFramework.Runtime.GameEntry.GetComponent();
EventNode = UnityGameFramework.Runtime.GameEntry.GetComponent();
CombatNode = UnityGameFramework.Runtime.GameEntry.GetComponent();
ShopNode = UnityGameFramework.Runtime.GameEntry.GetComponent();
ResolutionAdapter = UnityGameFramework.Runtime.GameEntry.GetComponent();
SpriteCache = UnityGameFramework.Runtime.GameEntry.GetComponent();
InventoryGeneration = UnityGameFramework.Runtime.GameEntry.GetComponent();
}
}