mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-04 03:09:18 +00:00
release types for v0.8.0 in jecs.d.ts
This commit is contained in:
parent
8fd32978b4
commit
1f430cf8a4
3 changed files with 7 additions and 6 deletions
7
jecs.d.ts
vendored
7
jecs.d.ts
vendored
|
@ -234,12 +234,12 @@ export class World {
|
||||||
each(id: Id): IterableFunction<Entity>;
|
each(id: Id): IterableFunction<Entity>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterator that yields all child entities of the specified parent entity.
|
* Returns the child entity of the specified parent entity.
|
||||||
* Uses the ChildOf relationship internally.
|
* Uses the ChildOf relationship internally.
|
||||||
* @param parent The parent entity to get children for
|
* @param parent The parent entity to get children for
|
||||||
* @returns An iterator function that yields child entities
|
* @returns Exclusive children, if any, of the parent entity.
|
||||||
*/
|
*/
|
||||||
children(parent: Entity): IterableFunction<Entity>;
|
children(parent: Entity): Entity | undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Searches the world for entities that match specified components.
|
* Searches the world for entities that match specified components.
|
||||||
|
@ -310,6 +310,7 @@ export declare const OnDeleteTarget: Tag;
|
||||||
export declare const Delete: Tag;
|
export declare const Delete: Tag;
|
||||||
export declare const Remove: Tag;
|
export declare const Remove: Tag;
|
||||||
export declare const Name: Entity<string>;
|
export declare const Name: Entity<string>;
|
||||||
|
export declare const Exclusive: Tag;
|
||||||
export declare const Rest: Entity;
|
export declare const Rest: Entity;
|
||||||
|
|
||||||
export type ComponentRecord = {
|
export type ComponentRecord = {
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@rbxts/jecs",
|
"name": "@rbxts/jecs",
|
||||||
"version": "0.6.0",
|
"version": "0.8.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@rbxts/jecs",
|
"name": "@rbxts/jecs",
|
||||||
"version": "0.6.0",
|
"version": "0.8.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rbxts/compiler-types": "^2.3.0-types.1",
|
"@rbxts/compiler-types": "^2.3.0-types.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@rbxts/jecs",
|
"name": "@rbxts/jecs",
|
||||||
"version": "0.7.3",
|
"version": "0.8.0",
|
||||||
"description": "Stupidly fast Entity Component System",
|
"description": "Stupidly fast Entity Component System",
|
||||||
"main": "jecs.luau",
|
"main": "jecs.luau",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in a new issue