Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api Suggestion #855

Closed
iliaga opened this issue Jan 6, 2019 · 3 comments
Closed

Api Suggestion #855

iliaga opened this issue Jan 6, 2019 · 3 comments

Comments

@iliaga
Copy link

iliaga commented Jan 6, 2019

Hi,

I have an idea : make the CreateComponentWhatever api to return entity so we could construct entities with a fluent api.
example :

using Entitas;

public sealed class MyComponent : IInitializeSystem
{

    void Initialize()
    {
        createEntity().AddT1(param,param).AddT2(param);
    }

}

Cheers

@majorika
Copy link

majorika commented Jan 6, 2019

you can find a answer from this. #429

@sschmid sschmid added this to Entitas Sep 6, 2022
@sschmid
Copy link
Owner

sschmid commented Sep 8, 2022

Fluent Api for components will come back! :)

@sschmid sschmid moved this to New in Entitas Jul 3, 2023
@sschmid sschmid moved this from New to Backlog in Entitas Jul 3, 2023
@sschmid sschmid moved this from Backlog to New in Entitas Jul 3, 2023
@sschmid sschmid removed the status in Entitas Jul 3, 2023
@sschmid sschmid moved this to New in Entitas Jul 3, 2023
@sschmid
Copy link
Owner

sschmid commented Jul 6, 2023

Fluent api will definitely come back. Working on it, see new code generator #1005

@sschmid sschmid closed this as completed Jul 6, 2023
@github-project-automation github-project-automation bot moved this from New to Done in Entitas Jul 6, 2023
@sschmid sschmid added this to the next-release milestone Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants