Hi,
I would like to create something like a hashmap, but in my case I want the key to hold different values with different data types.
Or to be specific:
I want to appoint a KEY to a set of data like:
{
Author: String author;
Title: String title;
Year: Int year;
Sub-Title: String subTitle;
Image: Texture image;
Button: Texture button}
And then I want to be able to get the data by doing something like KEY.getImage / KEY.getAuthor etc.
I’m just not sure of how to do this (best). Can you point me in the right direction?