[TASK] Added Npc#getName

This commit is contained in:
Jeroen Ketelaar
2019-05-13 17:00:42 -05:00
committed by GitHub
parent 5ea19f7343
commit 7645a57097
@@ -33,6 +33,15 @@ public final class Npc extends Character {
return new RefClass(this.accessor);
}
/**
* Gets the name of the Npc
*
* @return String of the NPC name
*/
public String getName() {
return getAccessor().getName();
}
/**
* Interacts with this character
*