Skip to content

Commit ea1acb0

Browse files
Update README.md
1 parent 2c28eeb commit ea1acb0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ public abstract class Controller {
115115

116116
```cs
117117
/// Base class for every entity component.
118-
public abstract class EntityComponent<EntityComponentType, EntitySystemType> : UnityEngine.MonoBehaviour, IAllowsInjectables, IEntityComponent
118+
public abstract class EntityComponent<EntityComponentType, EntitySystemType> : UnityEngine.MonoBehaviour, IEntityComponent
119119
where EntityComponentType : EntityComponent<EntityComponentType, EntitySystemType>, new()
120120
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new() {
121+
// This class allows the usage of [Referenced] and [Protected] objects and primives.
121122
122123
/// Adds an asset to the entity.
123124
public void AddAsset (UnityEngine.Object asset);
@@ -148,9 +149,10 @@ public abstract class EntityComponent<EntityComponentType, EntitySystemType> : U
148149

149150
```cs
150151
/// Base class for every entity system.
151-
public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IAllowsInjectables, IEntitySystem
152+
public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IEntitySystem
152153
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new()
153154
where EntityComponentType : EntityComponent<EntityComponentType, EntitySystemType>, new() {
155+
// This class allows the usage of [Injected] systems and services.
154156
155157
/// An instance reference to the controller.
156158
public static EntitySystemType Instance;
@@ -220,8 +222,9 @@ public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IAll
220222

221223
```cs
222224
/// Base class for every service
223-
public abstract class Service<ServiceType> : IAllowsInjectables, IService
225+
public abstract class Service<ServiceType> : IService
224226
where ServiceType : Service<ServiceType>, new() {
227+
// This class allows the usage of [Injected] systems and services.
225228
226229
/// An instance reference to the service.
227230
public static ServiceType Instance;

0 commit comments

Comments
 (0)