Okay I've almost finished my level saving. I just need an Efficient way to convert a String (the name of the class) to Class.. For example.
I have a class called Tree
I have a string "Tree"
I want to do
addObject(new , x, y);
How would I do this?