Skip to content

Foxes not supported? #5

Description

@ericwerk

In Animal.cs, in line 202, you cast the foodtarget to a Plant:
eatAmount = ((Plant) foodTarget).Consume (eatAmount);

This fails when the foodTarget is a Rabbit :-)
What did you do in the other code, just remove the eaten Rabbit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions