Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -2,7 +2,7 @@
namespace Content.MapRenderer.Painters
{
public class EntityData
public sealed class EntityData
{
public EntityData(SpriteComponent sprite, float x, float y)
{

View File

@@ -12,7 +12,7 @@ using static Robust.UnitTesting.RobustIntegrationTest;
namespace Content.MapRenderer.Painters;
public class EntityPainter
public sealed class EntityPainter
{
private readonly IResourceCache _cResourceCache;

View File

@@ -11,7 +11,7 @@ using static Robust.UnitTesting.RobustIntegrationTest;
namespace Content.MapRenderer.Painters
{
public class GridPainter
public sealed class GridPainter
{
private readonly EntityPainter _entityPainter;

View File

@@ -20,7 +20,7 @@ using SpriteComponent = Robust.Server.GameObjects.SpriteComponent;
namespace Content.MapRenderer.Painters
{
public class MapPainter : ContentIntegrationTest
public sealed class MapPainter : ContentIntegrationTest
{
public async IAsyncEnumerable<Image> Paint(string map)
{

View File

@@ -12,7 +12,7 @@ using static Robust.UnitTesting.RobustIntegrationTest;
namespace Content.MapRenderer.Painters
{
public class TilePainter
public sealed class TilePainter
{
private const string TilesPath = "/Textures/Tiles/";
public const int TileImageSize = EyeManager.PixelsPerMeter;