Skip to content

A convenient operation to add all Components of an Aspect to an Entity at once #23

Description

@kKdH

The ComponentManager should offer an operation to add the Components of an Aspect to an Entity at once.

ComponentTuple tuple = testee.addComponents(testRef, aspect);
tuple.on(TestComponentA.class).setArray(new double[]{0.5, 0.5});
tuple.on(TestComponentB.class).setString("");
tuple.pushTo(testRef);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions