Skip to content

Commit e097a29

Browse files
committed
Bumped version and updated some codacity recommendations
1 parent b23d09b commit e097a29

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 5.1.{build}
1+
version: 6.0.{build}
22
branches:
33
only:
44
- master

src/EcsRx.Plugins.Computeds/ComputedFromGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public abstract class ComputedFromGroup<T> : IComputed<T>, IDisposable
1818

1919
public IObservableGroup InternalObservableGroup { get; }
2020

21-
public ComputedFromGroup(IObservableGroup internalObservableGroup)
21+
protected ComputedFromGroup(IObservableGroup internalObservableGroup)
2222
{
2323
InternalObservableGroup = internalObservableGroup;
2424
Subscriptions = new List<IDisposable>();

src/EcsRx/Extensions/IEntityCollectionExtensions.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using EcsRx.Blueprints;
5-
using EcsRx.Collections;
65
using EcsRx.Collections.Entity;
76
using EcsRx.Components;
87
using EcsRx.Entities;
@@ -62,11 +61,7 @@ public static IEnumerable<IEntity> Query(this IEntityCollection entityCollection
6261
{ return query.Execute(entityCollection); }
6362

6463
public static IEntity CreateEntity(this IEntityCollection entityCollection, params IBlueprint[] blueprints)
65-
{
66-
var entity = entityCollection.CreateEntity();
67-
entity.ApplyBlueprints(blueprints);
68-
return entity;
69-
}
64+
{ return CreateEntity(entityCollection, (IEnumerable<IBlueprint>)blueprints); }
7065

7166
public static IEntity CreateEntity(this IEntityCollection entityCollection, IEnumerable<IBlueprint> blueprints)
7267
{

0 commit comments

Comments
 (0)