Exemplo n.º 1
0
        public SettlementAssassinateScreenViewModel(ISneakInHandler sneakInHandler, Settlement settlement)
        {
            _sneakInHandler = sneakInHandler;
            _settlement     = settlement;

            var targetsList = new MBBindingList <AssassinationCharacterPanel>();

            foreach (var hero in settlement.GetViableAssassinationTargetsInLordsHall(Hero.MainHero))
            {
                targetsList.Add(new AssassinationCharacterPanel(hero, OnSneakIn));
            }

            AssassinationTargets = targetsList;
        }
Exemplo n.º 2
0
 public AssassinationBehavior(IAssassinationHistoryService assassinationHistoryService, ISneakInHandler sneakInHandler)
 {
     _assassinationHistoryService = assassinationHistoryService;
     _sneakInHandler = sneakInHandler;
 }
Exemplo n.º 3
0
 public SettlementAssassinateScreen(ISneakInHandler sneakInHandler, Settlement settlement)
 {
     _sneakInHandler = sneakInHandler;
     _settlement     = settlement;
 }