Move Interactable and Selectable to Mods.Common.

This commit is contained in:
Paul Chote
2020-02-29 11:29:06 +00:00
committed by atlimit8
parent c5139fb6c2
commit 73a78eadb1
9 changed files with 50 additions and 27 deletions

View File

@@ -440,6 +440,22 @@ namespace OpenRA.Traits
bool SpatiallyPartitionable { get; }
}
[Flags]
public enum SelectionPriorityModifiers
{
None = 0,
Ctrl = 1,
Alt = 2
}
[RequireExplicitImplementation]
public interface ISelectableInfo : ITraitInfoInterface
{
int Priority { get; }
SelectionPriorityModifiers PriorityModifiers { get; }
string Voice { get; }
}
public interface ISelection
{
int Hash { get; }