示例#1
0
文件: Player.cs 项目: iloled/ggj2016
	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);
		}
	}