Hey guys
I just learned about hashtables and im still wondering if i should use them in my map or not, so i wanted to hear your opinions.
My map has 8 players and each player have a range of "attributes" i need to save. For example, each player have 13 units, 13 unit upgrades, 2 researches and level of them, some specific regions and so on.
Up until now i've used variables and arrays to save these for each player, but it will be a lot variables by the time i'm done. Would it be better to make a hashtable for each player and then save all of these values? Or is big 8 hashtables in one map too much?
I just learned about hashtables and im still wondering if i should use them in my map or not, so i wanted to hear your opinions.
My map has 8 players and each player have a range of "attributes" i need to save. For example, each player have 13 units, 13 unit upgrades, 2 researches and level of them, some specific regions and so on.
Up until now i've used variables and arrays to save these for each player, but it will be a lot variables by the time i'm done. Would it be better to make a hashtable for each player and then save all of these values? Or is big 8 hashtables in one map too much?