|
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()
|
|
{
|
|
_sources?.Clear();
|
|
_sources = null;
|
|
}
|
|
}
|
|
}
|