Right now I’ve got 2 arrays side by side with the same indexes, where I store the classes in one array and texture data from those classes in the other array. I’ve set up a visual grid of these and some mouse manipulation to change locations of both at the same time. Which works reasonably fine, but if I try to add any more complexity or get more kinds of variables that should go along with those classes, it gets out of hands quickly. So essentially I need to either get those variables out of that class reference.
Or alternatively I would need some kind of chart that finds me a value from a list and then returns any variables attached to that value. Like this next chart, where I would want to search for “a” and get 5 and 7.5 back.