Exemple #1
0
 public void Add(FishBounds fish)
 {
     _Set.Insert(fish);
     if (JoinEvent != null)
     {
         JoinEvent(fish);
     }
 }
Exemple #2
0
 internal void Remove(FishBounds fish)
 {
     _Set.Remove(fish);
     if (LeaveEvent != null)
     {
         LeaveEvent(fish);
     }
 }
Exemple #3
0
    void _Initial(int id)
    {
        _Id = id;

        _Bounds = new VGame.Project.FishHunter.FishBounds(_Id, FishType, _UpdateBounds());
        _JoinToSet();
        _Bounds.RequestHitEvent += _Hit;
        _Initialed = true;
    }