Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -22,7 +22,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Client.Viewport
|
||||
{
|
||||
public class GameScreen : GameScreenBase, IMainViewportState
|
||||
public sealed class GameScreen : GameScreenBase, IMainViewportState
|
||||
{
|
||||
public static readonly Vector2i ViewportSize = (EyeManager.PixelsPerMeter * 21, EyeManager.PixelsPerMeter * 15);
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace Content.Client.Viewport
|
||||
// OH GOD.
|
||||
// Ok actually it's fine.
|
||||
// Instantiated dynamically through the StateManager, Dependencies will be resolved.
|
||||
[Virtual]
|
||||
public class GameScreenBase : State, IEntityEventSubscriber
|
||||
{
|
||||
[Dependency] private readonly IInputManager _inputManager = default!;
|
||||
|
||||
Reference in New Issue
Block a user