Add IActorPreviewInitModifier interface.

This commit is contained in:
Paul Chote
2016-06-10 16:34:12 +01:00
parent 970caf38c6
commit eb5b50185c
5 changed files with 49 additions and 3 deletions

View File

@@ -125,4 +125,10 @@ namespace OpenRA.Mods.Common.Traits
bool AdjacentWallCanConnect(Actor self, CPos wallLocation, string wallType, out CVec facing);
void SetDirty();
}
[RequireExplicitImplementation]
public interface IActorPreviewInitModifier
{
void ModifyActorPreviewInit(Actor self, TypeDictionary inits);
}
}