mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
removed the old ecs and refactored the platformer demo to use the new ecs
This commit is contained in:
@@ -14,13 +14,13 @@ namespace MonoGame.Extended.Entities.Systems
|
||||
Begin();
|
||||
|
||||
foreach (var entityId in ActiveEntities)
|
||||
Process(entityId);
|
||||
Process(gameTime, entityId);
|
||||
|
||||
End();
|
||||
}
|
||||
|
||||
public virtual void Begin() { }
|
||||
public abstract void Process(int entityId);
|
||||
public abstract void Process(GameTime gameTime, int entityId);
|
||||
public virtual void End() { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user