Пример #1
0
 public void CheckTriggerEvent(int x, int y, int type)
 {
     if (_triggerEvent == null)
     {
         LocationTrigger temp = FindLocationTrigger(x, y, type == 1 ? true : false);
         if (temp != null)
         {
             temp.TriggerCheck();
         }
     }
 }