mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-23 20:49:33 +08:00
26 lines
690 B
C#
26 lines
690 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Milimoe.FunGame.Core.Interface.Entity;
|
|
|
|
namespace Milimoe.FunGame.Core.Entity
|
|
{
|
|
public abstract class Item : BaseEntity, IItem
|
|
{
|
|
public string Describe { get; set; } = "";
|
|
public decimal Price { get; set; }
|
|
public char Key { get; set; }
|
|
public bool Active { get; set; }
|
|
public bool Enable { get; set; }
|
|
public Character? Character { get; set; } = null;
|
|
|
|
public override IEnumerator<IEnumerable> GetEnumerator()
|
|
{
|
|
return GetEnumerator();
|
|
}
|
|
}
|
|
}
|