question: private boolean checkPath ( SpeakerNPC npc , StringBuilder msg ) { FixedPath path = npc . getPath ( ) ; if ( path == null ) { return true ; } boolean ok = true ; if ( ! path . isLoop ( ) ) { ok = false ; msg . append ( npc . getName ( ) ) ; msg . append ( " has a path that is not a loop.\n" ) ; } if ( ! checkNodes ( npc , path , msg ) ) { ok = false ; } return ok ; }
target:  Check the path of an NPC.