Skip to content

Commit 16c2250

Browse files
Controller now inherrets IController
1 parent 8d29bbd commit 16c2250

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Runtime/Controller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace ElRaccoone.EntityComponentSystem {
22

33
/// Base class for every controller.
4-
public abstract class Controller : UnityEngine.MonoBehaviour {
4+
public abstract class Controller : UnityEngine.MonoBehaviour, IController {
55

66
/// A list of the controller's instantiated entity systems.
77
private System.Collections.Generic.List<IEntitySystem> systems;

Runtime/Interfaces/IController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace ElRaccoone.EntityComponentSystem {
2+
3+
/// Base interface for the controller
4+
public interface IController { }
5+
}

0 commit comments

Comments
 (0)