2021-04-08 20:09:59 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace ET
|
|
|
|
|
{
|
|
|
|
|
public class Combat : Entity
|
|
|
|
|
{
|
|
|
|
|
List<ICombatBounds> _sources;
|
|
|
|
|
public List<ICombatBounds> sources => _sources ??= Parent.GetComponents<ICombatBounds>();
|
|
|
|
|
|
|
|
|
|
public void Destory()
|
|
|
|
|
{
|
2021-04-20 00:25:04 +08:00
|
|
|
|
_sources?.Clear();
|
2021-04-08 20:09:59 +08:00
|
|
|
|
_sources = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|