Exemplo n.º 1
0
 public static TrackableCollection<StackItemView> getCollection(
     Iterable<SpellAbilityStackInstance> instances) {
   if (instances == null) {
     return null;
   }
   TrackableCollection<StackItemView> collection = new TrackableCollection<StackItemView>();
   for (SpellAbilityStackInstance si : instances) {
     collection.add(si.getView());
   }
   return collection;
 }
Exemplo n.º 2
0
 public static StackItemView get(SpellAbilityStackInstance si) {
   return si == null ? null : si.getView();
 }