Cell.cs 530 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. namespace ET
  3. {
  4. public class Cell: Entity, IAwake, IDestroy
  5. {
  6. // 处在这个cell的单位
  7. public Dictionary<long, AOIEntity> AOIUnits = new Dictionary<long, AOIEntity>();
  8. // 订阅了这个Cell的进入事件
  9. public Dictionary<long, AOIEntity> SubsEnterEntities = new Dictionary<long, AOIEntity>();
  10. // 订阅了这个Cell的退出事件
  11. public Dictionary<long, AOIEntity> SubsLeaveEntities = new Dictionary<long, AOIEntity>();
  12. }
  13. }