genaray/Arch

Better systems

Opened this issue · 2 comments

var world = World.Create();
world.AddSystem(PlayerMoveSystem)

public static void PlayerMoveSystem((Transform Transform,  PlayerMovement Movement)[] components)
{
    foreach (var component in components)
    { 
        component.Transform.Position += component.Movement.Velocity;
    }
}

Have you looked at https://github.com/genaray/Arch.Extended/wiki/Source-Generator ? I would argue that its way better than bevy like systems tho :)

Does it really require a constructor?