Activity

Mouthless Stoat

Long time no devlog, I decided to just scrap everything and rewrite it from the top so I don’t want to fight with more borrow checking. It now use a system of a single copy of card that get refer to using a card id instead of stuff

Attachment
0
Mouthless Stoat

After wrestling with the borrow checker for hours, I finally clean up the draw card code. Project progress moving slowly cus i am still figuring out the bound of the project.

Attachment
0
Mouthless Stoat

A more concrete and determinant system to process the sigil

Attachment
0
Mouthless Stoat

Bundle a bunch of the sigil information into a Context so that the handler can be more flexible with how the sigil are activated.

Attachment
0
Mouthless Stoat

Got a basic framework for the rule engie. Currently only drawing card is implemented. I’ve decided that the sigil system will work as follow. There is a SigilHandler trait with a connect Sigil type that will be handle by this handler. This trait allow for custom sigil to be implemented by providing their own handler and their own sigil type. The FightManager job is then to dispatch SigilEvent and tell the handler to handle them.

Attachment
Attachment
0