From a191a0c6ab2a5946c976c77ba0c3b7df18760db8 Mon Sep 17 00:00:00 2001 From: Ukendio Date: Wed, 31 Jul 2024 02:55:42 +0200 Subject: [PATCH] Remove dead link --- docs/api/jecs.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/api/jecs.md b/docs/api/jecs.md index 98c6794..cc2ee46 100644 --- a/docs/api/jecs.md +++ b/docs/api/jecs.md @@ -8,8 +8,31 @@ Jecs. Just an Entity Component System. ```luau jecs.World: World ``` +A world is a container of all ECS data. Games can have multiple worlds but component IDs may conflict between worlds. Ensure to register the same component IDs in the same order for each world. ### Wildcard +```luau +jecs.Wildcard: Entity +``` +Builtin component type. This ID is used for wildcard queries. + +### Component +```luau +jecs.Component: Entity +``` +Builtin component type. Every ID created with [world:component()](world.md#component()) has this type added to it. This is meant for querying every component ID. + +### ChildOf +```luau +jecs.ChildOf: Entity +``` +Builtin component type. This ID is for creating parent-child hierarchies. + +::: +### Rest +```luau +jecs.Rest: Entity +``` ## Functions