Added IWallConnector trait interface

This commit is contained in:
teees
2015-11-16 14:30:02 +01:00
parent 8ade035049
commit 7f2feb29cd
2 changed files with 19 additions and 5 deletions

View File

@@ -116,4 +116,11 @@ namespace OpenRA.Mods.Common.Traits
{
bool PreventsAutoTarget(Actor self, Actor attacker);
}
[RequireExplicitImplementation]
interface IWallConnector
{
bool AdjacentWallCanConnect(Actor self, CPos wallLocation, string wallType);
void SetDirty();
}
}