jmmk / clash-attack-sim

https://jmmk.github.io/clash-attack-sim/
Other
3 stars 1 forks source link

Make input system better #12

Open jmmk opened 9 years ago

jmmk commented 9 years ago

I should use an actual input queue instead of just a "click" queue. And when I handle each event, I will have more conditions to check

jmmk commented 9 years ago

Consider using core.async for the input queue

jmmk commented 9 years ago

Input should be collected in one place (probably through the ui with re-frame since we don't have any "persistent" input like keydown and mouse-down) and handled in another (input handling system)