Beispiel #1
0
 public static void Init(ref ME.ECS.StructComponentsContainer structComponentsContainer)
 {
     TransformComponentsInitializer.Init(ref structComponentsContainer);
     NameComponentsInitializer.Init(ref structComponentsContainer);
     CameraComponentsInitializer.Init(ref structComponentsContainer);
     PhysicsComponentsInitializer.Init(ref structComponentsContainer);
 }
Beispiel #2
0
        public static void InitTypeId()
        {
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.ViewComponent>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.IViewComponent>(false);

            TransformComponentsInitializer.InitTypeId();
            NameComponentsInitializer.InitTypeId();
            CameraComponentsInitializer.InitTypeId();
            PhysicsComponentsInitializer.InitTypeId();
        }
        public static void Init(ref ME.ECS.StructComponentsContainer structComponentsContainer)
        {
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.ViewComponent>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.IViewComponent>(false);

            TransformComponentsInitializer.Init(ref structComponentsContainer);
            NameComponentsInitializer.Init(ref structComponentsContainer);
            CameraComponentsInitializer.Init(ref structComponentsContainer);
            PhysicsComponentsInitializer.Init(ref structComponentsContainer);
        }
        public static void InitTypeId()
        {
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.ViewComponent>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Collections.IntrusiveListNode>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Collections.IntrusiveHashSetBucket>(false);

            ME.ECS.DataConfigs.DataConfig.InitTypeId();
            TransformComponentsInitializer.InitTypeId();
            NameComponentsInitializer.InitTypeId();
            CameraComponentsInitializer.InitTypeId();
        }
        public static void Init(ref ME.ECS.StructComponentsContainer structComponentsContainer)
        {
            structComponentsContainer.Validate <ME.ECS.Views.ViewComponent>(false);
            structComponentsContainer.Validate <ME.ECS.Collections.IntrusiveListNode>(false);
            structComponentsContainer.Validate <ME.ECS.Collections.IntrusiveHashSetBucket>(false);

            ME.ECS.DataConfigs.DataConfig.Init(ref structComponentsContainer);
            TransformComponentsInitializer.Init(ref structComponentsContainer);
            NameComponentsInitializer.Init(ref structComponentsContainer);
            CameraComponentsInitializer.Init(ref structComponentsContainer);
        }