Let order generators account for selection changes

This commit is contained in:
abcdefg30
2020-05-22 11:21:57 +02:00
committed by Paul Chote
parent b5e3f25418
commit 07d58337f1
12 changed files with 63 additions and 24 deletions

View File

@@ -110,6 +110,8 @@ namespace OpenRA.Mods.Common.Traits
world.CancelInputMode();
}
void IOrderGenerator.SelectionChanged(World world, IEnumerable<Actor> selected) { }
bool IsOutsideDragZone
{
get { return dragStarted && dragDirection.Length > MinDragThreshold; }