public void setTarget(Enemy e, AlertingMethod M) { alerted = true; target = e; if (debug) { print("Shot by " + e.name + ", retaliating."); } if (AlertMethod == AlertingMethod.Shot || AlertMethod == AlertingMethod.Hear && USEPF) { PFNC.currentNode = PFNC.GNNCReturn(); } }
public void setTarget(Enemy e, AlertingMethod M) { alerted = true; target = e; if (debug) print ("Shot by "+e.name+", retaliating."); if (AlertMethod == AlertingMethod.Shot || AlertMethod == AlertingMethod.Hear && USEPF) { PFNC.currentNode = PFNC.GNNCReturn(); } }