예제 #1
0
파일: Zone.cs 프로젝트: NecroSharper/WCell
 public void CallOnAllCharacters(Action <Character> action)
 {
     Map.CallOnAllCharacters(chr =>
     {
         if (chr.Zone.Id == Id)
         {
             action(chr);
         }
     });
 }
예제 #2
0
 public void CallOnAllCharacters(Action <Character> action)
 {
     Map.CallOnAllCharacters(chr =>
     {
         if (chr.Zone.Id != Id)
         {
             return;
         }
         action(chr);
     });
 }