Add IRenderAnnotations(WhenSelected) interfaces.

This commit is contained in:
Paul Chote
2019-09-14 09:42:48 +01:00
committed by abcdefg30
parent 060ea80ca4
commit edaa7918fc
2 changed files with 49 additions and 10 deletions

View File

@@ -427,6 +427,18 @@ namespace OpenRA.Traits
bool SpatiallyPartitionable { get; }
}
public interface IRenderAnnotations
{
IEnumerable<IRenderable> RenderAnnotations(Actor self, WorldRenderer wr);
bool SpatiallyPartitionable { get; }
}
public interface IRenderAnnotationsWhenSelected
{
IEnumerable<IRenderable> RenderAnnotations(Actor self, WorldRenderer wr);
bool SpatiallyPartitionable { get; }
}
public interface ISelection
{
int Hash { get; }