public void convertThief(NPC npc){ if (ressource.gold >= 2 && ressource.blood>=2) { ressource.gold -= 2; ressource.blood -= 2; int position = npc.position; npc = new Thief (); npc.setPosition (position); this.party.addNPC (npc); } }