Add IIssueDeployOrder.

This commit is contained in:
Paul Chote
2017-06-03 15:46:31 +01:00
committed by Curtis Shmyr
parent 533b2f9ad7
commit e8d6d63707
6 changed files with 37 additions and 5 deletions

View File

@@ -283,4 +283,11 @@ namespace OpenRA.Mods.Common.Traits
byte GetTerrainIndex(CPos cell);
WPos CenterOfCell(CPos cell);
}
// For traits that want to be exposed to the "Deploy" UI button / hotkey
[RequireExplicitImplementation]
public interface IIssueDeployOrder
{
Order IssueDeployOrder(Actor self);
}
}