Exemplo n.º 1
0
        internal ComponentUsingNestedTypeSameNameReader(World world, Entity entity, EntityId entityId)
        {
            Entity   = entity;
            EntityId = entityId;

            IsValid = true;

            ComponentUpdateSystem = world.GetExistingSystem <ComponentUpdateSystem>();
            CallbackSystem        = world.GetExistingSystem <ComponentCallbackSystem>();
            EntityManager         = world.EntityManager;
        }
Exemplo n.º 2
0
        internal DependencyTestReader(World world, Entity entity, EntityId entityId)
        {
            Entity   = entity;
            EntityId = entityId;

            IsValid = true;

            ComponentUpdateSystem = world.GetExistingSystem <ComponentUpdateSystem>();
            CallbackSystem        = world.GetExistingSystem <ComponentCallbackSystem>();
            EntityManager         = world.EntityManager;
        }
Exemplo n.º 3
0
        internal ExhaustiveSingularReader(World world, Entity entity, EntityId entityId)
        {
            Entity   = entity;
            EntityId = entityId;

            IsValid = true;

            ComponentUpdateSystem = world.GetExistingSystem <ComponentUpdateSystem>();
            CallbackSystem        = world.GetExistingSystem <ComponentCallbackSystem>();
            EntityManager         = world.EntityManager;
        }
        internal ExhaustiveMapKeyReader(World world, Entity entity, EntityId entityId)
        {
            Entity   = entity;
            EntityId = entityId;

            IsValid = true;

            ComponentUpdateSystem = world.GetExistingManager <ComponentUpdateSystem>();
            CallbackSystem        = world.GetExistingManager <ComponentCallbackSystem>();
            EntityManager         = world.GetExistingManager <EntityManager>();
        }
Exemplo n.º 5
0
        internal ComponentWithNoFieldsWithCommandsReader(World world, Entity entity, EntityId entityId)
        {
            Entity   = entity;
            EntityId = entityId;

            IsValid = true;

            ComponentUpdateSystem = world.GetExistingManager <ComponentUpdateSystem>();
            CallbackSystem        = world.GetExistingManager <ComponentCallbackSystem>();
            EntityManager         = world.GetExistingManager <EntityManager>();
        }
        internal PlayerHeartbeatClientReader(World world, Entity entity, EntityId entityId)
        {
            Entity   = entity;
            EntityId = entityId;

            IsValid = true;

            ComponentUpdateSystem = world.GetExistingManager <ComponentUpdateSystem>();
            CallbackSystem        = world.GetExistingManager <ComponentCallbackSystem>();
            EntityManager         = world.GetExistingManager <EntityManager>();
        }