10 separate arrays is fine if thats what you game needs,
or you could use a map of your struct, so one struct/array with a different key to identify it.
or you can construct and object and put whatever you want in it
10 separate arrays is fine if thats what you game needs,
or you could use a map of your struct, so one struct/array with a different key to identify it.
or you can construct and object and put whatever you want in it