NPCFactory(String npcName) {
	
	switch(npcName){

		case "Mercy":
			return new NPC1();
			break;

		case "Freddie"
			return new Freddie();
			break;
	}

}
@@ -1,14 +1,271 @@
-NPCFactory
+/**%0A * Created by arran on 21/11/2016.%0A */%0Apublic class NpcFactory %7B%0A    private static NpcFactory ourInstance = new NpcFactory();%0A%0A    public static NpcFactory getInstance() %7B%0A        return ourInstance;%0A    %7D%0A%0A    private NpcFactory() %7B%0A    %7D%0A%0A    public Npc getNpc
 (Str
@@ -280,14 +280,18 @@
 ame)
- 
 %7B%0A
-%09%0A%09
+        
 swit
@@ -304,18 +304,28 @@
 Name)%7B%0A%0A
-%09%09
+            
 case %22Me
@@ -330,98 +330,236 @@
 Merc
+ur
 y%22:%0A
-%09%09%09return new NPC1();%0A%09%09%09break;%0A%0A%09%09case %22Freddie%22%0A%09%09%09return new 
+                return new ExampleNPC(%22Mercury%22);%0A%0A            case %22Freddie%22:%0A                return new ExampleNPC(%22
 Freddie
-();%0A%09%09%09break;%0A%09%7D%0A
+%22);%0A            default:%0A                throw new NotRealNPCException(%22Well...%22);%0A        %7D%0A    %7D
 %0A%7D
+%0A

Fix NPCFactory