86a599723e
TLDR: higher-order functions my beloved
...
Add counter utility and chain async animations in spell cast
Introduce a Counter module to coordinate multiple asynchronous
animation callbacks and update spellbook cast to run chained
animations sequentially. Also lock selector during AI turns.
2026-01-29 02:32:58 +03:00
93a4961419
high-order functions my beloved
2026-01-25 07:05:45 +03:00
3f694ccec9
attempt to save our souls (callback hell my beloved)
...
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2026-01-24 01:46:05 +03:00
586ea68d2b
minimal end turn button implementation
2025-12-12 05:20:11 +03:00
cd8d2768e0
fix drawing spell preview after the end of a turn
2025-11-12 02:55:49 +03:00
6b2fb08a5b
Reimplement turn order management and update character initiative logic
2025-11-09 06:35:51 +03:00
4169aa4b61
refactor turn-order
...
i should leave this peace of oxygen etc etc
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-11-09 01:43:06 +03:00
242b37de83
fix bag, when you leave selector on your character when end your turn
2025-11-07 21:51:35 +03:00
8821cb4cf7
try to add initiative
2025-11-07 09:25:21 +03:00
3caa3b926e
fix turns when you click on another char
2025-11-04 19:08:41 +03:00
7beb421486
toggle turn mode
2025-11-04 19:08:41 +03:00
369e7db7e0
fix little typo
2025-11-04 19:08:41 +03:00
6dd02ed2ec
turn order init
2025-11-04 19:08:41 +03:00