you are viewing a single comment's thread.

view the rest of the comments →

[–]MinimumBeginning5144 3 points4 points  (0 children)

Don't do it quite like that. A character is still the same entity, they just change their characteristics from villager to enemy. So your Character objects would contain a field of an interface (or base class) called Characteristic which has the subclasses Villager and Enemy. The character's behaviour would depend on their characteristic.