Hi, I’ve done my research but I am unable to find out how to actually make and use custom Attributes. Let’s see an example of what I would like to achieve. (in js)
@Stored("John");
var aCharacter:Person;
var allPersons: = new Dictionary.<String,Person>();
So in this mere example, I would like the variable aCharacter to be added to the Dictionary with the key provided by the attribute when the game starts. How can I do this please? Some guidelines.
Now like I said, the above example has no meaning, but its merely a simple example.