I wasn't sure how to ask it.
If I have set of classes for each type of "item," as in object or class, what is the best way to generate them randomly.
I'm only practicing but say I have a text game where you have lots of different types of classes, like, EvilPerson, GoodPerson, Monster, SomethingElse.....
I want to choose one at random.
I'm probably just overthinking it but I shouldn't just do
Random rand = new Random();
should I? Say I have fifty types of things. I know this is not thought out real well. Thanks.