void MakeQuestGenerator() { var rewardManager = new RewardManager(); rewardManager.AddRewarder <GoldReward>(new GoldRewarder(player.Inventory)); rewardManager.AddRewarder <ItemReward>(new ItemRewarder(player.Inventory)); questGenerator = new QuestGenerator(rewardManager); questGenerator.AddMissionGenerator <DefeatNpc>( new DefeatNpcGenerator( new NpcFactory() ) ); questGenerator.AddRewardGenerator <GoldReward>( new GoldRewardGenerator(150, 0.2f) ); }