Foundation - Entity #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Entities are one of the other foundational building blocks of an ECS system. They have a two main jobs, One is to own components. They do not contain logic either, however their second purpose is to relate to each other. Entity A may be parent of Entity B. In that case Components and Systems may act differently.
This can also be used to make actions. For example, Entity A might be related to Entity B with Component "Attack". In this case "A ---Attack--> B" is the relationship. This is how we can have a world where entities interact with each other.
c1efee5b4e