Hey bit stuck trying to make a Factory which creates multiple objects
e.g.
I want 10 rabbits, 6 foxes, 4 dogs + more animals
instead of three for loops like this one
for(int i = 0; i < foxCount; i++)
{
Fox fox = new Fox();
}
Is there a way using a Factory to do this in one loop? somehow use a string for creating these objects?