Skip to content

Commit 766e0ca

Browse files
Updated docs
1 parent 38109e2 commit 766e0ca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public class EnemyComponent : EntityComponent<EnemyComponent, EnemySystem> {
6161
public class EnemySystem : EntitySystem<EnemySystem, EnemyComponent> {
6262
[Injected] private AiSystem aiSystem;
6363
[Injected] private AudioService AudioService;
64+
[Injected] private MainController mainController;
6465

6566
public override void OnEntityInitialized (EnemyComponent entity) {
6667
if (entity.level > 5)
@@ -89,7 +90,7 @@ Use build in file generator to create new instances for any of these types.
8990
/// Base class for every controller.
9091
public abstract class Controller {
9192

92-
// NOTE: This class allows the usage of [Injected] systems and services.
93+
// NOTE: This class allows the usage of [Injected] systems, services and controller.
9394
9495
/// A reference to the controller.
9596
public static Controller Instance;
@@ -171,7 +172,7 @@ public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IEnt
171172
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new()
172173
where EntityComponentType : EntityComponent<EntityComponentType, EntitySystemType>, new() {
173174

174-
// NOTE: This class allows the usage of [Injected] systems and services.
175+
// NOTE: This class allows the usage of [Injected] systems, services and controller.
175176
176177
/// An instance reference to the controller.
177178
public static EntitySystemType Instance;
@@ -244,7 +245,7 @@ public abstract class EntitySystem<EntitySystemType, EntityComponentType> : IEnt
244245
public abstract class Service<ServiceType> : IService
245246
where ServiceType : Service<ServiceType>, new() {
246247

247-
// NOTE: This class allows the usage of [Injected] systems and services.
248+
// NOTE: This class allows the usage of [Injected] systems, services and controller.
248249
249250
/// An instance reference to the service.
250251
public static ServiceType Instance;

0 commit comments

Comments
 (0)