private void Start() { RPM = ReservePartitionManager.ins; RPM.AddPopulation(this); //Testing print(RPM.CanAccess(this, food.transform.position)); }
public Tilemap liquid; //currently not used public void Awake() { if (ins != null && this != ins) { Destroy(this); } else { ins = this; } //long mask is limited to 64 bits openID = new Stack <int>(); for (int i = 63; i >= 0; i--) { openID.Push(i); } pops = new List <Population>(); accessMap = new Dictionary <Vector3Int, long>(); }
public PredatoryPreySystem(NeedType needType = NeedType.Prey) : base(needType) { this.rpm = GameManager.Instance.m_reservePartitionManager; this.gridSystem = GameManager.Instance.m_tileDataController; }