ndouglas / azymus

An experimental roguelike, written in Rust.
The Unlicense
6 stars 0 forks source link

Input Domains #4

Closed ndouglas closed 5 years ago

ndouglas commented 5 years ago

This goes along with #3. Input needs to be mapped to discrete commands depending on context -- if we're at the main menu, exploring a dungeon, in inventory, etc. I was thinking about pushing/popping these from a stack, but I don't think that's worth the effort. Rather, I think it'll just be a value in an enum.