5

I recently spent quite some time understanding and building a component-based system. I got stuck on a few problems and after searching for quite some time ran across this answer which is talking about behaviours and attributes.

From what I understand, attributes are an entity's data; I thought that's what the component is? And what are behaviours? Is it another term for Entity Processing System?

Samaursa
  • 2,089
  • 17
  • 24

1 Answers1

5

Attributes and behaviors are just a different way of talking about components and systems.

  • Attributes == Components
  • Behaviors == Systems

They can be the exact same at the code level, it's just a different way to talk about them that might help people better understand them.

House
  • 73,224
  • 17
  • 184
  • 273