Exemple #1
0
 public void InitFreeUnitPools(IStackPanelWrapper stackPanelWrapper)
 {
     foreach (var player in _engine.Players)
     {
         stackPanelWrapper.AddUIElement(new ObjectHolder(new UnitPoolView()));
     }
 }
 public UnitPoolViewModel(IStackPanelWrapper stackPanelWrapper)
 {
     _stackPanelWrapper = stackPanelWrapper;
 }