-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
210 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet') | ||
## Complete() `method` | ||
Clears current instance of its entities if it was created with some reactive filter ([WhenAdded<T>()](./DefaultEcs-EntitySetBuilder-WhenAdded-T-().md 'DefaultEcs.EntitySetBuilder.WhenAdded<T>()'), [WhenChanged<T>()](./DefaultEcs-EntitySetBuilder-WhenChanged-T-().md 'DefaultEcs.EntitySetBuilder.WhenChanged<T>()') or [WhenRemoved<T>()](./DefaultEcs-EntitySetBuilder-WhenRemoved-T-().md 'DefaultEcs.EntitySetBuilder.WhenRemoved<T>()')). | ||
Does nothing if it was created from a static filter. | ||
This method need to be called after current instance content has been processed in a update cycle. |
4 changes: 2 additions & 2 deletions
4
...-EntitySetObserverEvents-OnEntityAdded.md → ...n/api/DefaultEcs-EntitySet-EntityAdded.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetObserverEvents](./DefaultEcs-EntitySetObserverEvents.md 'DefaultEcs.EntitySetObserverEvents') | ||
## OnEntityAdded `event` | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet') | ||
## EntityAdded `event` | ||
Event called when an [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') is added to the [EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet'). |
4 changes: 2 additions & 2 deletions
4
...ntitySetObserverEvents-OnEntityRemoved.md → ...api/DefaultEcs-EntitySet-EntityRemoved.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetObserverEvents](./DefaultEcs-EntitySetObserverEvents.md 'DefaultEcs.EntitySetObserverEvents') | ||
## OnEntityRemoved `event` | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet') | ||
## EntityRemoved `event` | ||
Event called when an [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') is removed from the [EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet'). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
...ntation/api/DefaultEcs-EntitySetBuilder-Build(DefaultEcs-IEntitySetObserver).md
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
documentation/api/DefaultEcs-EntitySetBuilder-WhenAdded(System-Type--).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder') | ||
## WhenAdded(System.Type[]) `method` | ||
Makes a rule to obsverve [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') when all component of the given types are added. | ||
### Parameters | ||
|
||
<a name='DefaultEcs-EntitySetBuilder-WhenAdded(System-Type--)-componentTypes'></a> | ||
`componentTypes` | ||
|
||
The types of component. | ||
### Returns | ||
The current [EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder'). |
12 changes: 12 additions & 0 deletions
12
documentation/api/DefaultEcs-EntitySetBuilder-WhenAdded-T-().md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder') | ||
## WhenAdded<T>() `method` | ||
Makes a rule to observe [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') when a component of type [T](#DefaultEcs-EntitySetBuilder-WhenAdded-T-()-T 'DefaultEcs.EntitySetBuilder.WhenAdded<T>().T') is added. | ||
### Type parameters | ||
|
||
<a name='DefaultEcs-EntitySetBuilder-WhenAdded-T-()-T'></a> | ||
`T` | ||
|
||
The type of component. | ||
### Returns | ||
The current [EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder'). |
12 changes: 12 additions & 0 deletions
12
documentation/api/DefaultEcs-EntitySetBuilder-WhenChanged(System-Type--).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder') | ||
## WhenChanged(System.Type[]) `method` | ||
Makes a rule to obsverve [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') when all component of the given types are changed. | ||
### Parameters | ||
|
||
<a name='DefaultEcs-EntitySetBuilder-WhenChanged(System-Type--)-componentTypes'></a> | ||
`componentTypes` | ||
|
||
The types of component. | ||
### Returns | ||
The current [EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder'). |
12 changes: 12 additions & 0 deletions
12
documentation/api/DefaultEcs-EntitySetBuilder-WhenChanged-T-().md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder') | ||
## WhenChanged<T>() `method` | ||
Makes a rule to observe [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') when a component of type [T](#DefaultEcs-EntitySetBuilder-WhenChanged-T-()-T 'DefaultEcs.EntitySetBuilder.WhenChanged<T>().T') is changed. | ||
### Type parameters | ||
|
||
<a name='DefaultEcs-EntitySetBuilder-WhenChanged-T-()-T'></a> | ||
`T` | ||
|
||
The type of component. | ||
### Returns | ||
The current [EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder'). |
12 changes: 12 additions & 0 deletions
12
documentation/api/DefaultEcs-EntitySetBuilder-WhenRemoved(System-Type--).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder') | ||
## WhenRemoved(System.Type[]) `method` | ||
Makes a rule to obsverve [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') when all component of the given types are removed. | ||
### Parameters | ||
|
||
<a name='DefaultEcs-EntitySetBuilder-WhenRemoved(System-Type--)-componentTypes'></a> | ||
`componentTypes` | ||
|
||
The types of component. | ||
### Returns | ||
The current [EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder'). |
12 changes: 12 additions & 0 deletions
12
documentation/api/DefaultEcs-EntitySetBuilder-WhenRemoved-T-().md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs](./DefaultEcs.md#DefaultEcs 'DefaultEcs').[EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder') | ||
## WhenRemoved<T>() `method` | ||
Makes a rule to observe [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') when a component of type [T](#DefaultEcs-EntitySetBuilder-WhenRemoved-T-()-T 'DefaultEcs.EntitySetBuilder.WhenRemoved<T>().T') is removed. | ||
### Type parameters | ||
|
||
<a name='DefaultEcs-EntitySetBuilder-WhenRemoved-T-()-T'></a> | ||
`T` | ||
|
||
The type of component. | ||
### Returns | ||
The current [EntitySetBuilder](./DefaultEcs-EntitySetBuilder.md 'DefaultEcs.EntitySetBuilder'). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...mentation/api/DefaultEcs-IEntitySetObserver-OnEntityAdded(DefaultEcs-Entity).md
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...ntation/api/DefaultEcs-IEntitySetObserver-OnEntityRemoved(DefaultEcs-Entity).md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...stem-AEntitySystem-T---ctor(DefaultEcs-World-_DefaultEcs-IEntitySetObserver).md
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...Ecs-World-_DefaultEcs-IEntitySetObserver-_DefaultEcs-System-SystemRunner-T-).md
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
documentation/api/DefaultEcs-System-AEntitySystem-T--EntityAdded.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs.System](./DefaultEcs.md#DefaultEcs-System 'DefaultEcs.System').[AEntitySystem<T>](./DefaultEcs-System-AEntitySystem-T-.md 'DefaultEcs.System.AEntitySystem<T>') | ||
## EntityAdded `event` | ||
Event called when an [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') is added to the inner [EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet'). |
4 changes: 4 additions & 0 deletions
4
documentation/api/DefaultEcs-System-AEntitySystem-T--EntityRemoved.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs.System](./DefaultEcs.md#DefaultEcs-System 'DefaultEcs.System').[AEntitySystem<T>](./DefaultEcs-System-AEntitySystem-T-.md 'DefaultEcs.System.AEntitySystem<T>') | ||
## EntityRemoved `event` | ||
Event called when an [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') is removed from the inner [EntitySet](./DefaultEcs-EntitySet.md 'DefaultEcs.EntitySet'). |
10 changes: 10 additions & 0 deletions
10
documentation/api/DefaultEcs-System-AEntitySystem-T--PostUpdate(T).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#### [DefaultEcs](./DefaultEcs.md 'DefaultEcs') | ||
### [DefaultEcs.System](./DefaultEcs.md#DefaultEcs-System 'DefaultEcs.System').[AEntitySystem<T>](./DefaultEcs-System-AEntitySystem-T-.md 'DefaultEcs.System.AEntitySystem<T>') | ||
## PostUpdate(T) `method` | ||
Performs a post-update treatment. | ||
### Parameters | ||
|
||
<a name='DefaultEcs-System-AEntitySystem-T--PostUpdate(T)-state'></a> | ||
`state` | ||
|
||
The state to use. |
Oops, something went wrong.