title: C++ Simple entity component
body: <p>I want to create a very simple enemy class that gets attributes from components rather than inheritance. Attributes will be just health i guess for now. I need an example really simple one to start with. Still learning about the component pattern and i am lost still.</p>
  
  <p>Any help would be incredible!</p>