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