导入敌人模型素材,统一经验和金币掉落物
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user