deep diving into the ecs

This commit is contained in:
Dylan Wilson
2017-11-30 20:55:05 +10:00
parent 97b7a32311
commit 8dd279cbe8
17 changed files with 148 additions and 330 deletions
@@ -44,11 +44,11 @@ namespace MonoGame.Extended.Entities
{
private TimeSpan _timer;
internal EntityComponentSystem Manager;
internal EntityComponentSystem EntityComponentSystem;
public bool IsEnabled { get; set; }
public Game Game => Manager.Game;
public GraphicsDevice GraphicsDevice => Manager.GraphicsDevice;
public EntityManager EntityManager => Manager.EntityManager;
public Game Game => EntityComponentSystem.Game;
public GraphicsDevice GraphicsDevice => EntityComponentSystem.GraphicsDevice;
public EntityManager EntityManager => EntityComponentSystem.EntityManager;
public TimeSpan ProcessingDelay { get; set; }