Support multiple ITargetable traits
This commit is contained in:
@@ -315,6 +315,7 @@ namespace OpenRA.Traits
|
||||
|
||||
public interface ITargetable
|
||||
{
|
||||
// Check IsTraitEnabled or !IsTraitDisabled first
|
||||
string[] TargetTypes { get; }
|
||||
IEnumerable<WPos> TargetablePositions(Actor self);
|
||||
bool TargetableBy(Actor self, Actor byActor);
|
||||
|
||||
Reference in New Issue
Block a user