Exemplo n.º 1
0
        public void Initialise_InitialisesSystems()
        {
            var systemContainer = new SystemContainer(new EntityDataProviders {
                PrototypeEntityDataProvider = loader
            });
            var system = Substitute.For <ISystem>();

            engine.Register(system);

            engine.Initialise(systemContainer);

            system.Received(1).Initialise();
        }