Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team 2 ahmad - control improvements #248

Merged
merged 11 commits into from
Oct 13, 2023
Merged

Team 2 ahmad - control improvements #248

merged 11 commits into from
Oct 13, 2023

Conversation

The-AhmadAA
Copy link
Contributor

This merge brings in implementations of control improvements to the in-game tower build functionality. The main changes are:

  • Added shortcut keys 1 - 5 for selecting towers for build
  • Added Left Control key as a modifier for multiple placements of towers.
  • Added JUnit tests for the BuildInputComponent

How these work in-game, is that selecting one of the number shortcut keys is the same as clicking the corresponding tower build buttons, and allows placement of a single tower. Holding down the left Ctrl key allows the placement of multiple towers until the key is released.

@The-AhmadAA The-AhmadAA merged commit 3e0ad2e into main Oct 13, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants