Esempio n. 1
0
 public PolicyPageUI(ActivePolicies policies, int pagePolicyIndex, int pagePolicyCount)
 {
     _policies        = policies;
     _pagePolicyIndex = pagePolicyIndex;
     _pagePolicyCount = pagePolicyCount;
     UpdatePolicies();
     World.Subscribe(EventSubscription.Create <PoliciesChanged>(x => UpdatePolicies(), this));
 }
Esempio n. 2
0
 public PolicyPageUI(ActivePolicies policies)
     : this(policies, 0, 10)
 {
 }