public void Add(FishBounds fish) { _Set.Insert(fish); if (JoinEvent != null) { JoinEvent(fish); } }
internal void Remove(FishBounds fish) { _Set.Remove(fish); if (LeaveEvent != null) { LeaveEvent(fish); } }
void _Initial(int id) { _Id = id; _Bounds = new VGame.Project.FishHunter.FishBounds(_Id, FishType, _UpdateBounds()); _JoinToSet(); _Bounds.RequestHitEvent += _Hit; _Initialed = true; }