#9 Devlog
Casting spells is now almost complete, and my overengineered type system got even more crazy.
We have now:
- Card, that represent, well… cards
- StackDefinition, which the targets and some other metadata for Spells
- Selectors, as there name suggests, select objects
- Behaviour, a closure that can change the game state, but with a lot of fancy type shenanigans to make sure it is only used with appropriate StackDefinitions.
Below are some highlights from the new types
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.