forked from project-redbud/FunGame-Core
tine
This commit is contained in:
parent
acc6417370
commit
f0995aa01d
@ -17,7 +17,7 @@ namespace Milimoe.FunGame.Core.Entity
|
||||
public bool Enable { get; set; }
|
||||
public Character? Character { get; set; } = null;
|
||||
|
||||
public override IEnumerator<IEnumerable> GetEnumerator()
|
||||
public override IEnumerator<IBaseEntity> GetEnumerator()
|
||||
{
|
||||
return GetEnumerator();
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Milimoe.FunGame.Core.Interface.Entity;
|
||||
using System;
|
||||
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
|
||||
{
|
||||
|
||||
@ -14,7 +14,7 @@ namespace Milimoe.FunGame.Core.Interface.Entity
|
||||
public string Name { get; set; } = "";
|
||||
|
||||
public abstract bool Equals(IBaseEntity? other);
|
||||
public abstract IEnumerator<IEnumerable> GetEnumerator();
|
||||
public abstract IEnumerator<IBaseEntity> GetEnumerator();
|
||||
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Milimoe.FunGame.Core.Interface.Entity
|
||||
{
|
||||
public interface IBaseEntity : IEquatable<IBaseEntity>, IEnumerable<IEnumerable>
|
||||
public interface IBaseEntity : IEquatable<IBaseEntity>, IEnumerable<IBaseEntity>
|
||||
{
|
||||
public int Id { get; }
|
||||
public Guid Guid { get; }
|
||||
Loading…
x
Reference in New Issue
Block a user