View Single Post
11-26-16, 12:09 AM   #3
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Melding the two ideas (groups and animating the bars) together. Sorry for the confusion.

A simple table, like this?
Lua Code:
  1. local barGroups = {}
  2. local bar = table.remove(barGroups)
  3. if not bar then
  4.     bar = LibCandyBar:New(...)
  5. end
  6.  
  7. -- bar ended
  8. table.insert(barGroups, bar)
  Reply With Quote