Merge pull request #107 from Parabot/task/npc-name

[TASK] Added Npc#getName
This commit is contained in:
Jeroen Ketelaar
2019-05-16 17:47:43 -05:00
committed by GitHub
@@ -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
*