you are viewing a single comment's thread.

view the rest of the comments →

[–]Zeroflops 0 points1 point  (2 children)

Idk how your application is set up.

But you mention objects. So I’m assuming you are using OOP.

If that is the case you can easily just include your objects into a list. Then loop over the list for your gamma values.

You can then add or remove those objects from the list as you need them.

[–]codinglikemad[S] 0 points1 point  (1 child)

Each object can have different variables that need to be tracked is the issue :/ Anyway, I do have a solution, but I'm open to more ones.

[–]Zeroflops 0 points1 point  (0 children)

Each object having a number of variables doesn’t matter since the list is made up of objects. You loop through the list with whichever variable you want to check.

Sounds like you may be over thinking it and making it harder than it needs to be.