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

Add: Update unit_scroller to have a unit_sleep button #5036

Merged
merged 1 commit into from
Aug 22, 2019
Merged

Add: Update unit_scroller to have a unit_sleep button #5036

merged 1 commit into from
Aug 22, 2019

Conversation

DanVanAtta
Copy link
Member

@DanVanAtta DanVanAtta commented Aug 22, 2019

Overview

Unit sleep will auto-skip a unit until it has been moved. Useful for example for units that are on islands or AA guns.

In this update the old unit-skip image, a moon, is renamed and re-used to be the unit sleep icon. A new 'checkmark' icon image is used for skip. Otherwise this feature update adds a second button next to the unit skip button for the unit sleep action.

Functional Changes

[ ] New map or map update
[ ] New Feature
[X] Feature update or enhancement
[ ] Code Removal
[ ] Code Cleanup or refactor
[ ] Configuration Change
[ ] Bug fix

User facing changes

  • Added new button with hotkey 's' for unit sleep

Testing

[ ] Covered by existing automated tests
[ ] Covered by newly added automated tests
[X] Manually tested
[ ] No testing done

Manual Testing

Started a revised game, slept all Russian units. Then moved a couple units and verified they showed as movable during non-combat. Also verified they were not highlighted with F key. Then cycled turns back to Russia and verified sleeping units were still sleeping.

Screens Shots

Before

Screenshot from 2019-08-21 19-25-54

After

Screenshot from 2019-08-21 19-15-44

Additional Review Notes

Unit sleep will auto-skip a unit until it has been moved. Useful for example for units that are on islands or AA guns.

In this update the old unit-skip image, a moon, is renamed and re-used to be the unit sleep icon. A new 'checkmark' icon image is used for skip. Otherwise this feature update adds a second button next to the unit skip button for the unit sleep action.
@RoiEXLab RoiEXLab merged commit be6c3e5 into triplea-game:master Aug 22, 2019
@DanVanAtta DanVanAtta deleted the unit-sleep branch August 26, 2019 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants