Inheritance

Inheritance

I just read through the source of FLARE. Although the overal source looks nice, there were a few things that I did not like the lack of inheritance.

I would personaly inherit Avatar and Enemy (and maybe NPC) from a common class.

 

  • Common functions like move, has to be coded only once.
  • Lists can work on more than one class at the same time.

 

My question is: Do you want me to fix that? (A good way to start in a project is finding a few small things and fixing them)

Steven