encompass-cs-docs/content/concepts/entity.md

16 lines
591 B
Markdown
Raw Normal View History

2019-05-22 20:56:04 +00:00
---
title: "Entity"
date: 2019-05-22T12:55:22-07:00
weight: 10
---
An Entity is a structure composed of a unique ID and a collection of Components.
Entities do not have any implicit properties or behaviors. They are granted these by their collection of Components.
2019-12-01 21:43:31 +00:00
There is no limit to the amount of Components an Entity may have, but Entities may only have a single Component of a particular type.
2019-05-22 20:56:04 +00:00
2019-12-01 21:43:31 +00:00
Entities can also be destroyed, permanently removing them and their components from the World.
2019-05-22 20:56:04 +00:00
Entities are created either by the WorldBuilder or by Engines. (We'll get into these soon.)