Skip to content

Commit

Permalink
release 0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraku committed Mar 23, 2020
1 parent 28ad06e commit 14b09dc
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions documentation/RELEASENOTE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## DefaultEcs 0.14.1
fixed Entity.ReadAllComponents accessing previous value component used by map

[nuget package](https://www.nuget.org/packages/DefaultEcs/0.14.1)

## DefaultEcs 0.14.0
breaking change:
removed World.MaxEntityCount, obsolete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The type of the component removed.
#### Parameters
<a name='DefaultEcs-ComponentChangedHandler-T-(DefaultEcs-Entity_T_T)-entity'></a>
`entity` [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity')
The [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') on which the component was removed.
The [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') on which the component was changed.

<a name='DefaultEcs-ComponentChangedHandler-T-(DefaultEcs-Entity_T_T)-oldValue'></a>
`oldValue` [T](#DefaultEcs-ComponentChangedHandler-T-(DefaultEcs-Entity_T_T)-T 'DefaultEcs.ComponentChangedHandler&lt;T&gt;(DefaultEcs.Entity, T, T).T')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Determines whether two specified entities are the same.
public static bool operator ==(DefaultEcs.Entity a, DefaultEcs.Entity b);
```
#### Parameters
<a name='DefaultEcs-Entity-operator==(DefaultEcs-Entity_DefaultEcs-Entity)-a'></a>
<a name='DefaultEcs-Entity-op_Equality(DefaultEcs-Entity_DefaultEcs-Entity)-a'></a>
`a` [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity')
The first [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') to compare.

<a name='DefaultEcs-Entity-operator==(DefaultEcs-Entity_DefaultEcs-Entity)-b'></a>
<a name='DefaultEcs-Entity-op_Equality(DefaultEcs-Entity_DefaultEcs-Entity)-b'></a>
`b` [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity')
The second [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') to compare.

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')
true if the value of [a](#DefaultEcs-Entity-operator==(DefaultEcs-Entity_DefaultEcs-Entity)-a 'DefaultEcs.Entity.operator ==(DefaultEcs.Entity, DefaultEcs.Entity).a') is the same as the value of [b](#DefaultEcs-Entity-operator==(DefaultEcs-Entity_DefaultEcs-Entity)-b 'DefaultEcs.Entity.operator ==(DefaultEcs.Entity, DefaultEcs.Entity).b');
true if the value of [a](#DefaultEcs-Entity-op_Equality(DefaultEcs-Entity_DefaultEcs-Entity)-a 'DefaultEcs.Entity.op_Equality(DefaultEcs.Entity, DefaultEcs.Entity).a') is the same as the value of [b](#DefaultEcs-Entity-op_Equality(DefaultEcs-Entity_DefaultEcs-Entity)-b 'DefaultEcs.Entity.op_Equality(DefaultEcs.Entity, DefaultEcs.Entity).b');
otherwise, false.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Determines whether two specified entities are not the same.
public static bool operator !=(DefaultEcs.Entity a, DefaultEcs.Entity b);
```
#### Parameters
<a name='DefaultEcs-Entity-operator!=(DefaultEcs-Entity_DefaultEcs-Entity)-a'></a>
<a name='DefaultEcs-Entity-op_Inequality(DefaultEcs-Entity_DefaultEcs-Entity)-a'></a>
`a` [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity')
The first [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') to compare.

<a name='DefaultEcs-Entity-operator!=(DefaultEcs-Entity_DefaultEcs-Entity)-b'></a>
<a name='DefaultEcs-Entity-op_Inequality(DefaultEcs-Entity_DefaultEcs-Entity)-b'></a>
`b` [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity')
The second [Entity](./DefaultEcs-Entity.md 'DefaultEcs.Entity') to compare.

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')
true if the value of [a](#DefaultEcs-Entity-operator!=(DefaultEcs-Entity_DefaultEcs-Entity)-a 'DefaultEcs.Entity.operator !=(DefaultEcs.Entity, DefaultEcs.Entity).a') is not the same as the value of [b](#DefaultEcs-Entity-operator!=(DefaultEcs-Entity_DefaultEcs-Entity)-b 'DefaultEcs.Entity.operator !=(DefaultEcs.Entity, DefaultEcs.Entity).b');
true if the value of [a](#DefaultEcs-Entity-op_Inequality(DefaultEcs-Entity_DefaultEcs-Entity)-a 'DefaultEcs.Entity.op_Inequality(DefaultEcs.Entity, DefaultEcs.Entity).a') is not the same as the value of [b](#DefaultEcs-Entity-op_Inequality(DefaultEcs-Entity_DefaultEcs-Entity)-b 'DefaultEcs.Entity.op_Inequality(DefaultEcs.Entity, DefaultEcs.Entity).b');
otherwise, false.
4 changes: 2 additions & 2 deletions documentation/api/DefaultEcs-Entity.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ Implements [System.IDisposable](https://docs.microsoft.com/en-us/dotnet/api/Syst
- [SetSameAs&lt;T&gt;(DefaultEcs.Entity)](./DefaultEcs-Entity-SetSameAs-T-(DefaultEcs-Entity).md 'DefaultEcs.Entity.SetSameAs&lt;T&gt;(DefaultEcs.Entity)')
- [ToString()](./DefaultEcs-Entity-ToString().md 'DefaultEcs.Entity.ToString()')
### Operators
- [operator ==(DefaultEcs.Entity, DefaultEcs.Entity)](./DefaultEcs-Entity-operator==(DefaultEcs-Entity_DefaultEcs-Entity).md 'DefaultEcs.Entity.operator ==(DefaultEcs.Entity, DefaultEcs.Entity)')
- [operator !=(DefaultEcs.Entity, DefaultEcs.Entity)](./DefaultEcs-Entity-operator!=(DefaultEcs-Entity_DefaultEcs-Entity).md 'DefaultEcs.Entity.operator !=(DefaultEcs.Entity, DefaultEcs.Entity)')
- [operator ==(DefaultEcs.Entity, DefaultEcs.Entity)](./DefaultEcs-Entity-op_Equality(DefaultEcs-Entity_DefaultEcs-Entity).md 'DefaultEcs.Entity.op_Equality(DefaultEcs.Entity, DefaultEcs.Entity)')
- [operator !=(DefaultEcs.Entity, DefaultEcs.Entity)](./DefaultEcs-Entity-op_Inequality(DefaultEcs-Entity_DefaultEcs-Entity).md 'DefaultEcs.Entity.op_Inequality(DefaultEcs.Entity, DefaultEcs.Entity)')
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#### [DefaultEcs](./index.md 'index')
### [DefaultEcs.System](./DefaultEcs-System.md 'DefaultEcs.System')
## WithPredicate Class
## WithPredicateAttribute Class
Makes so when building the inner EntitySet of [AEntitySystem&lt;T&gt;](./DefaultEcs-System-AEntitySystem-T-.md 'DefaultEcs.System.AEntitySystem&lt;T&gt;') when giving a [World](./DefaultEcs-World.md 'DefaultEcs.World') instance, the decorated method will be used as a component predicate.
The decorated method should be of the type [ComponentPredicate&lt;T&gt;(T)](./DefaultEcs-ComponentPredicate-T-(T).md 'DefaultEcs.ComponentPredicate&lt;T&gt;(T)').
```csharp
public sealed class WithPredicate : Attribute
public sealed class WithPredicateAttribute : Attribute
```
Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') &gt; [System.Attribute](https://docs.microsoft.com/en-us/dotnet/api/System.Attribute 'System.Attribute') &gt; [WithPredicate](./DefaultEcs-System-WithPredicate.md 'DefaultEcs.System.WithPredicate')
Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') &gt; [System.Attribute](https://docs.microsoft.com/en-us/dotnet/api/System.Attribute 'System.Attribute') &gt; [WithPredicateAttribute](./DefaultEcs-System-WithPredicateAttribute.md 'DefaultEcs.System.WithPredicateAttribute')
2 changes: 1 addition & 1 deletion documentation/api/DefaultEcs-System.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The [DefaultEcs.System](./DefaultEcs-System.md 'DefaultEcs.System') namespace co
- [WithEitherAttribute](./DefaultEcs-System-WithEitherAttribute.md 'DefaultEcs.System.WithEitherAttribute')
- [WithoutAttribute](./DefaultEcs-System-WithoutAttribute.md 'DefaultEcs.System.WithoutAttribute')
- [WithoutEitherAttribute](./DefaultEcs-System-WithoutEitherAttribute.md 'DefaultEcs.System.WithoutEitherAttribute')
- [WithPredicate](./DefaultEcs-System-WithPredicate.md 'DefaultEcs.System.WithPredicate')
- [WithPredicateAttribute](./DefaultEcs-System-WithPredicateAttribute.md 'DefaultEcs.System.WithPredicateAttribute')
### Interfaces
- [ISystem&lt;T&gt;](./DefaultEcs-System-ISystem-T-.md 'DefaultEcs.System.ISystem&lt;T&gt;')
### Enums
Expand Down

0 comments on commit 14b09dc

Please sign in to comment.