init
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public class CombatFinishFormContext : UIContext
|
||||
{
|
||||
public string EnemyKilledText;
|
||||
public string GoldGainedText;
|
||||
public RepoItemContext[] RewardItems;
|
||||
public bool CanReturn;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public class CombatInfoFormContext : UIContext
|
||||
{
|
||||
public string LevelMetaText;
|
||||
public string LevelPhaseText;
|
||||
public string CoinText;
|
||||
public string BaseHpText;
|
||||
public string EnemyHpRateText;
|
||||
public bool CanPause;
|
||||
public bool CanEnd;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public enum CombatSelectActionType : byte
|
||||
{
|
||||
None = 0,
|
||||
BuildTower = 1,
|
||||
UpgradeTower = 2,
|
||||
DestroyTower = 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public class CombatSelectFormContext : UIContext
|
||||
{
|
||||
public bool IsVisible;
|
||||
public Vector2 ScreenPosition;
|
||||
public bool ShowBuildArea;
|
||||
public bool ShowFuncArea;
|
||||
public TowerSelectItemContext[] BuildItems;
|
||||
public TowerSelectItemContext UpgradeItem;
|
||||
public TowerSelectItemContext DestroyItem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public class TowerSelectItemContext : UIContext
|
||||
{
|
||||
public Sprite Icon;
|
||||
public string PriceText;
|
||||
public bool IsVisible;
|
||||
public bool IsInteractable;
|
||||
public CombatSelectActionType ActionType;
|
||||
public int ActionIndex;
|
||||
public TowerIconAreaContext TowerIconAreaContext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user