title: OOP: Is it normal to have a lot of inherited classes?
body: <p>I started writing some code for a 2D game, created a class "objets" trying to keep it as generic as possible. I have a few methods and attributes that are common to every kind of element (buldings, ppl, interface buttons, etc) like (w, h, x, y ...you know) but most of them only make sense when applied to and specific type of item.
  So I would have to inherit a new class for every type of actor in the game?
  Just wondering if this is a common practice, or maybe i should manage it in a different way.</p>
  
  <p>Thanks in advance.</p>