Made the npc appear on the screen by creating is from the enemyfactory and giving it a sprite.