1 decade ago by dotnetprodev
I am in the process of designing the classes for my game.
Question: What is the best way to describe a parent class of Projectile and its child classes? A Bullet subclass can be a Projectile. There is also Bombs and maybe Grenades. What are the properties of the super (parent) class and the child classes such as Bullet?
Does anybody have any experience with this?
Question: What is the best way to describe a parent class of Projectile and its child classes? A Bullet subclass can be a Projectile. There is also Bombs and maybe Grenades. What are the properties of the super (parent) class and the child classes such as Bullet?
Does anybody have any experience with this?