public MarketplaceVM() { //Set Class Variables this._heros = new MBBindingList <WorkerVM>(); this._navigationHandler = new CustomNavigation(); this._enterprise = Campaign.Current.GetCampaignBehavior <EnterpriseCampaignBehavior>(); //Add Workers to HeroVM foreach (Worker worker in this._enterprise.GetWorkers) { this._heros.Add(new WorkerVM(worker.Character, worker)); } }
public WorkerVM(Hero hero, Worker worker) : base(hero) { this._worker = worker; this._navigationHandler = new CustomNavigation(); }
public CustomMapVM(MapNavigationVM vm) : base(vm) { this._navigationHandler = new CustomNavigation(); }