23 lines
493 B
C#
23 lines
493 B
C#
using GeometryTD.Definition;
|
|
|
|
namespace GeometryTD.CustomComponent
|
|
{
|
|
public readonly struct EnemyDropResult
|
|
{
|
|
public static EnemyDropResult Empty => new(0, 0, null);
|
|
|
|
public EnemyDropResult(int coin, int gold, TowerCompItemData lootItem)
|
|
{
|
|
Coin = coin;
|
|
Gold = gold;
|
|
LootItem = lootItem;
|
|
}
|
|
|
|
public int Coin { get; }
|
|
|
|
public int Gold { get; }
|
|
|
|
public TowerCompItemData LootItem { get; }
|
|
}
|
|
}
|