Skip to content

Commit 7bf1a42

Browse files
Updated readme
1 parent 2459f53 commit 7bf1a42

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ Use build in file generator to create new instances for any of these types.
5454

5555
```cs
5656
/// Base class for every controller.
57+
// NOTE: This class allows the usage of [Injected] systems, services and controller.
5758
public abstract class Controller {
5859

59-
// NOTE: This class allows the usage of [Injected] systems, services and controller.
60-
6160
/// A reference to the controller.
6261
public static Controller Instance;
6362

@@ -99,12 +98,11 @@ public abstract class Controller {
9998

10099
```cs
101100
/// Base class for every entity component.
101+
// NOTE: This class allows the usage of [Referenced] and [Protected] objects and primitives.
102102
public abstract class EntityComponent<EntityComponentType, EntitySystemType> : UnityEngine.MonoBehaviour, IEntityComponent
103103
where EntityComponentType : EntityComponent<EntityComponentType, EntitySystemType>, new()
104104
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new() {
105105

106-
// NOTE: This class allows the usage of [Referenced] and [Protected] objects and primitives.
107-
108106
/// Defines whether this component is enabled.
109107
public bool isEnabled { get; };
110108
/// Sets the game object of the entity active.
@@ -141,12 +139,11 @@ public abstract class EntityComponent<EntityComponentType, EntitySystemType> : U
141139

142140
```cs
143141
/// Base class for every entity system.
142+
// NOTE: This class allows the usage of [Injected] systems, services and controller.
144143
public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IEntitySystem
145144
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new()
146145
where EntityComponentType : EntityComponent<EntityComponentType, EntitySystemType>, new() {
147146

148-
// NOTE: This class allows the usage of [Injected] systems, services and controller.
149-
150147
/// An instance reference to the controller.
151148
public static EntitySystemType Instance;
152149
/// A list of the system's instantiated entity components.
@@ -225,11 +222,10 @@ public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IEnt
225222

226223
```cs
227224
/// Base class for every service
225+
// NOTE: This class allows the usage of [Injected] systems, services and controller.
228226
public abstract class Service<ServiceType> : IService
229227
where ServiceType : Service<ServiceType>, new() {
230228

231-
// NOTE: This class allows the usage of [Injected] systems, services and controller.
232-
233229
/// An instance reference to the service.
234230
public static ServiceType Instance;
235231

0 commit comments

Comments
 (0)