示例#1
0
 public void processZone(Node n)
 {
     if (n is Bridge && (n as Bridge).GetToNodes.Contains(location))
     {
         n.toggleAlert(dungeon.zone[zone], false);
         zone--;
     }
     if (location is Bridge && (location as Bridge).GetToNodes.Contains(n))
     {
         n.toggleAlert(dungeon.zone[zone], false);
         zone++;
         lastZoneCheck();
     }
 }