Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using Svelto.ECS.Schedulers;
-
- namespace Svelto.ECS
- {
- //This scheduler shouldn't be used in production and it's meant to be used for Unit Tests only
- public class SimpleSubmissionEntityViewScheduler : IEntitySubmissionScheduler
- {
- public void SubmitEntities()
- {
- _onTick.Invoke();
- }
-
- EnginesRoot.EntitiesSubmitter IEntitySubmissionScheduler.onTick
- {
- set => _onTick = value;
- }
-
- EnginesRoot.EntitiesSubmitter _onTick;
-
- public void Dispose()
- {
- }
- }
- }
|