Hi, I found that Monster class's constructor is changed from public to private.
In this case, how to new a Monster class and pass the parameter "someBreed" into it? Maybe the Monster class's constructor should be public?
Monster* monster = someBreed.newMonster();
Hi, I found that Monster class's constructor is changed from public to private. In this case, how to new a Monster class and pass the parameter "someBreed" into it? Maybe the Monster class's constructor should be public?
Monster* monster = someBreed.newMonster();