milimoe 3d02cb3db3
添加行动顺序表和角色技能操作 (#87)
* 添加行动顺序表和角色技能操作

* 添加更多内容(特效的设计接口等)

* 添加爆发技插队和插队保护机制
2024-09-09 01:45:46 +08:00

26 lines
694 B
C#

using Milimoe.FunGame.Core.Interface.Entity;
namespace Milimoe.FunGame.Core.Entity
{
public class Item : BaseEntity, IItem
{
public string Describe { get; set; } = "";
public double Price { get; set; }
public char Key { get; set; }
public bool IsActive { get; set; }
public bool Enable { get; set; }
public Character? Character { get; set; } = null;
public Skill? Skill { get; set; } = null;
internal Item(bool active = false)
{
IsActive = active;
}
public override bool Equals(IBaseEntity? other)
{
return other is Item c && c.Name == Name;
}
}
}