Closed logan-r closed 9 years ago
How are you going to do the inheritance? What specific way?
I was planning on making a subclass inherit from a superclass by having the child class use its parent class's model, view, and control objects as the base for its own model, view, and control objects. See b085cb4ae300230c7ebf668e338a142ef8cdada7
Classes should inherit from superclasses in order to avoid repeat code. The top level object should be
GameObject
which has the childrenItem
andPhysicalObject
.PhysicalObject
should have the childrenAnimateObject
andTower
.AnimateObject
should have the childrenFightingObject
andProjectile
.FightingObject
should have the childrenHero
andMonster