for i, bar in pairs (self.config.bars) do
self.bars[i] = TestAddon.Bar:new(i);
end
...
TestAddon.Bar = AceOO.Class("AceEvent-2.0");
function TestAddon.Bar.prototype:init(index)
TestAddon.Bar.super.prototype.init(self);
...
end
I wrote an addon based on Ace2. Now I wanted to switch to Ace3.
As I have seen, there is no AceOO in Ace3.
Is there any replacement or how can I realize the same like AceOO with Ace3?
0
thank you for the reply, I found the misstake
0
thank you Adirelle
0
thank you for your help, I will try that.
0
At the moment, I do something like that:
To create new instances of the type "Bar".
I hope this explains how I use AceOO.
0
I wrote an addon based on Ace2. Now I wanted to switch to Ace3.
As I have seen, there is no AceOO in Ace3.
Is there any replacement or how can I realize the same like AceOO with Ace3?
Thank you for your help.
kaybe