Introduce the Actor class into your simulation. Rewrite the simulate- OneStep method in Simulator to use Actor instead of Animal. You can do this even if you have not introduced any new participant types. Does the Simulator class compile? Or is there something else that is needed in the Actor class?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.