예제 #1
0
 private static bool NPCAtCoordinates(INPC npc, int x, int y)
 {
     return(npc.IsActing(NPCActionState.Walking)
         ? npc.GetDestinationX() == x && npc.GetDestinationY() == y
         : npc.X == x && npc.Y == y);
 }