So basically I have an object that holds different characters per frame, each character (frame) has its own stats that takes them for an array.
Also each character(frame) comes with 4 skills.
I made the skills like the characters, 1 object with multiple frames and each frame comes with a value that take from an array.
Now here's the problem I encountered.
The game is turn based so since there's 1 object with multiple frames that act as different characters I need to define that now it's object#0 turn then when he finishes there's the object#1 that needs to act and I don't really understand how can I do that.
Now let's say that making 2 more duplicates of the same object is an option and that it won't affect preformance, I still need to pick the skill instance to get the specific value I need.
I don't really wanna fill the game with duplicates or make all the skills 1 by 1, not just for preformance reasons but also for learning purposes!
I hope I was clear with what I am asking here.
Thanks in advance!!!