Alright lets say I have a cPlayer
class that inherits from cOrganism
, which inherits from cEntity
. Now I'm ready to expand my cPlayer
class and i want to add animation to my player. Would it be better to
A.) Create a cAnimation
class and have cPlayer
inherit from it?
B.) Create a cAnimation
class and have it passed to cPlayer
as an argument?
C.) Something else?