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

Allow computed group membership on types of subStates other than PlayerStates #769

Open
jkomoros opened this issue Jul 30, 2020 · 0 comments

Comments

@jkomoros
Copy link
Owner

jkomoros commented Jul 30, 2020

Originally captured in #491

Currently you can only do computedPlayerGroupMembership on players (gameDelegate.GroupMembership() takes a playerstate). But there are some cases where you'd want similar machinery on game and even dynamiccomponentvalues.

Imagine a gameState.ActiveColor, for example.

You'd need a GameGroupMembership, and also need a ComputedGameGroupMembership.

And the verisons for dynamicComponentValues would need yet another, more complicated signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant