riversong code showcase
This commit is contained in:
14
Source/Engine/Core/GameSystem.cs
Normal file
14
Source/Engine/Core/GameSystem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public abstract class GameSystem : IGameSystem
|
||||
{
|
||||
protected GameSystem(IServiceLocator serviceLocator)
|
||||
{
|
||||
ServiceLocator = serviceLocator;
|
||||
}
|
||||
|
||||
public virtual string Name => GetType().Name;
|
||||
|
||||
protected IServiceLocator ServiceLocator { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user