mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
Fix links
This commit is contained in:
parent
c0594c7e75
commit
3d689ebdd8
1 changed files with 15 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
### World.new
|
### World.new
|
||||||
|
|
||||||
World.new(): [World](../api-types/World)
|
World.new(): [World](../api-types#World)
|
||||||
|
|
||||||
Create a new world.
|
Create a new world.
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ A new world
|
||||||
|
|
||||||
### World.entity
|
### World.entity
|
||||||
|
|
||||||
World.entity(world: [World](../api-types/World)): [Entity](../api-types/Entity)
|
World.entity(world: [World](../api-types#World)): [Entity](../api-types#Entity)
|
||||||
|
|
||||||
Creates an entity in the world.
|
Creates an entity in the world.
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ A new entiity id
|
||||||
|
|
||||||
### World.target
|
### World.target
|
||||||
|
|
||||||
World.target(world: [World](../api-types/World),
|
World.target(world: [World](../api-types#World),
|
||||||
entity: [Entity](../api-types/Entity),
|
entity: [Entity](../api-types#Entity),
|
||||||
rel: [Entity](../api-types/Entity)): [Entity](../api-types/Entity)
|
rel: [Entity](../api-types#Entity)): [Entity](../api-types#Entity)
|
||||||
|
|
||||||
Get the target of a relationship.
|
Get the target of a relationship.
|
||||||
|
|
||||||
|
@ -45,9 +45,9 @@ The first target for the relationship
|
||||||
|
|
||||||
### World.add
|
### World.add
|
||||||
|
|
||||||
World.add(world: [World](../api-types/World),
|
World.add(world: [World](../api-types#World),
|
||||||
entity: [Entity](../api-types/Entity),
|
entity: [Entity](../api-types#Entity),
|
||||||
id: [Entity](../api-types/Entity)): [Entity](../api-types/Entity)
|
id: [Entity](../api-types#Entity)): [Entity](..#api-types/Entity)
|
||||||
|
|
||||||
Add a (component) id to an entity.
|
Add a (component) id to an entity.
|
||||||
|
|
||||||
|
@ -63,9 +63,9 @@ If the entity already has the id, this operation will have no side effects.
|
||||||
|
|
||||||
### World.remove
|
### World.remove
|
||||||
|
|
||||||
World.remove(world: [World](../api-types/World),
|
World.remove(world: [World](../api-types#World),
|
||||||
entity: [Entity](../api-types/Entity),
|
entity: [Entity](../api-types#Entity),
|
||||||
id: [Entity](../api-types/Entity)): [Entity](../api-types/Entity)
|
id: [Entity](../api-types#Entity)): [Entity](../api-types#Entity)
|
||||||
|
|
||||||
Remove a (component) id to an entity.
|
Remove a (component) id to an entity.
|
||||||
|
|
||||||
|
@ -135,8 +135,8 @@ The query iterator.
|
||||||
|
|
||||||
### pair
|
### pair
|
||||||
|
|
||||||
pair(first: [Entity](../api-types/Entity),
|
pair(first: [Entity](../api-types#Entity),
|
||||||
second: [Entity](../api-types/Entity)): [Entity](../api-types/Entity)
|
second: [Entity](../api-types#Entity)): [Entity](../api-types#Entity)
|
||||||
|
|
||||||
Creates a composite key.
|
Creates a composite key.
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ The pair of the two elements
|
||||||
|
|
||||||
### IS_PAIR
|
### IS_PAIR
|
||||||
|
|
||||||
jecs.IS_PAIR(id: [Entity](../api-types/Entity)): boolean
|
jecs.IS_PAIR(id: [Entity](../api-types#Entity)): boolean
|
||||||
|
|
||||||
Creates a composite key.
|
Creates a composite key.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue