boardgame icon indicating copy to clipboard operation
boardgame copied to clipboard

Allow computed group membership on types of subStates other than PlayerStates

Open jkomoros opened this issue 4 years ago • 0 comments

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.

jkomoros avatar Jul 30 '20 01:07 jkomoros