Adding an InputHandler
@LolBaum is already working on this.
Since Apr 29, 2022.
- Dominant language
- C++
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently all user Input will be treat the same way while the whole time the program is running. At the moment that's no problem because the player is always in the same sate - he's moving around removing or placing Blocks with a click and selecting them with the Numbers 1...9.
But for further features Like an interactive inventory GUI or a chat new states of input need to be added.
That's why an InputHandler should be implemented, which forwards the user input to the correct Component (PlayerContoller, Inventory Drag n Drop, Chat, ect.) depending on the input state.
- general abstraction for input handling
- using input for the chat
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.