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

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