jsettlers / settlers-remake

A Remake of "The Settlers III" for Windows, Linux, Mac and Android
http://www.settlers-android-clone.com
MIT License
355 stars 101 forks source link

Only select wounded in selection #746

Closed PayDay1 closed 5 years ago

PayDay1 commented 6 years ago

These changes allow you to filter your selection by wounded (key is TAB). I also wanted to implement things like SHIFT while selecting to add to the selection, but I thought it is better to wait for #709 to be merged into master (because it already includes key modifiers for input events).

There is no UI for this in Android yet.

Should improve #661.

PayDay1 commented 6 years ago

I implemented the changes that you guys have mentioned. There is one questionable behaviour: If the selection only has unwounded objects in it, should it just do nothing or clear the selection (like it does now)?

michaelzangl commented 6 years ago

I'm for clearing the selection. So that you don't have to think about it when sending the wounded out of the battlefield. If there are no wounded, no soldiers will be sent.

andreas-eberle commented 6 years ago

I would also say clear the selection.