-
Notifications
You must be signed in to change notification settings - Fork 114
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
[Fluid] 101 small API extensions #461
Comments
Work is done, just needs a merge. closing ticket. |
Oops wrong ticket D: |
Got me all excited for a second! |
Bulk spring cleaning. Ticket too big. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Undeveloped extension ideas for #458
m(p1) m(p1,p2) m(p1,p2,p3), m(...p)
.)@EntityId
annotated fieldsclass Using { @EntityId int using; }
.using(item)
E("prefab/player.json").pos(5,5);
E.withTag("tag").pos(5,5)
E.withGroup("group")
IterativeModelStrategy
/BuilderModelStrategy
)Finished
E(id).deleteFromWorld()
FieldComponentBooleanAccessorStrategy
)Advanced API
Value copy
Shallow copy of values from source to target.
Init from entity
Create all components from source into target, and copy all values. basically a clone for empty entities,
mixin for filled entities.
Init from archetype
User convenience methods?!
Basically some convenience to expose your own convenience methods.
Json convenience
Can't really gauge utility since single entity is a bit of an awkward scope.
Fluid Entity Systems
Just because I'm particularly lazy we could even consider entity system tailored to hide away all the E(id) stuff.
Would be doable to provide adapters for entity subscriptions as well.
The text was updated successfully, but these errors were encountered: