ariasanovsky / spire-sieve

0 stars 0 forks source link

`CardPool` is not generic over `Character` or a `CardUnlocks` struct. #7

Open ariasanovsky opened 1 year ago

ariasanovsky commented 1 year ago

card module is also lacking an AnonymousCard which can emit an array struct AnonymousCardSet (e.g., [bool; N]) at compile time. The goal is to define a Filter enum at compile time which populates a Search.

ariasanovsky commented 1 year ago

As of commit 478b97f, all card pool generation structs can be initialized at compile time with a Character and Option<Unlocks> instance.

ariasanovsky commented 1 year ago

Reopened because there is no anonymous card filter that bypasses reading the named list of cards.