28 lines
615 B
C#
28 lines
615 B
C#
namespace SepCore.Entity
|
|
{
|
|
public class DropData : EntityDataBase
|
|
{
|
|
private int _coinCount;
|
|
private int _expCount;
|
|
|
|
public DropData(int coinCount, int expCount, int entityId, string assetName = "DropEntity")
|
|
: base(assetName, entityId)
|
|
{
|
|
_coinCount = coinCount;
|
|
_expCount = expCount;
|
|
}
|
|
|
|
public int CoinCount
|
|
{
|
|
get => _coinCount;
|
|
set => _coinCount = value;
|
|
}
|
|
|
|
public int ExpCount
|
|
{
|
|
get => _expCount;
|
|
set => _expCount = value;
|
|
}
|
|
}
|
|
}
|