Change renderables to class to avoid boxing
This commit is contained in:
@@ -14,7 +14,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Mods.Common.Graphics
|
||||
{
|
||||
public struct DetectionCircleAnnotationRenderable : IRenderable, IFinalizedRenderable
|
||||
public class DetectionCircleAnnotationRenderable : IRenderable, IFinalizedRenderable
|
||||
{
|
||||
readonly WPos centerPosition;
|
||||
readonly WDist radius;
|
||||
|
||||
Reference in New Issue
Block a user