Quantcast
WoWInterface - View Single Post - Closing all frames with the same name
View Single Post
04-17-20, 11:13 PM   #8
Milton
A Murloc Raider
Join Date: Apr 2020
Posts: 4
Ah, I understand. Reusing it means just changing the functionality of it, what is displayed and what it does, without creating a new frame.

In this case, I create maybe 500 new frames during a play session, it probably has no impact on the overall performance of the game at this level. On the other hand, there would be no more than 10 frames overlapping at any one time, so I could reduce the number to 10 and have cleaner code (or rather just one frame as you suggested earlier, though it's more difficult to implement). Maybe I will when I get a little bored with the actual game.

Thank you for sharing your wisdom.

Last edited by Milton : 04-18-20 at 02:05 AM.
  Reply With Quote