5
\$\begingroup\$

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?

\$\endgroup\$
5
\$\begingroup\$

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.

\$\endgroup\$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.