mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
18 lines
404 B
C#
18 lines
404 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Demo.Platformer.Entities.Systems
|
|
{
|
|
public abstract class ComponentSystem
|
|
{
|
|
protected ComponentSystem()
|
|
{
|
|
}
|
|
|
|
internal EntityComponentSystem EntityComponentSystem { get; set; }
|
|
|
|
protected IEnumerable<T> GetComponents<T>()
|
|
{
|
|
return EntityComponentSystem.GetComponents<T>();
|
|
}
|
|
}
|
|
} |