Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.AI.WorldState.States.Hands
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class AnyFreeHandState : StateData<bool>
|
||||
public sealed class AnyFreeHandState : StateData<bool>
|
||||
{
|
||||
public override string Name => "AnyFreeHand";
|
||||
public override bool GetValue()
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.AI.WorldState.States.Hands
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class HandItemsState : StateData<List<EntityUid>>
|
||||
public sealed class HandItemsState : StateData<List<EntityUid>>
|
||||
{
|
||||
public override string Name => "HandItems";
|
||||
public override List<EntityUid> GetValue()
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.AI.WorldState.States.Nutrition
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class ThirstyState : StateData<bool>
|
||||
public sealed class ThirstyState : StateData<bool>
|
||||
{
|
||||
public override string Name => "Thirsty";
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ namespace Content.Server.AI.WorldState.States.Utility
|
||||
/// <summary>
|
||||
/// Used by the utility AI to calc the adjusted scores
|
||||
/// </summary>
|
||||
public class ConsiderationState : StoredStateData<int>
|
||||
public sealed class ConsiderationState : StoredStateData<int>
|
||||
{
|
||||
public override string Name => "Consideration";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.AI.WorldState.States.Utility
|
||||
/// Used for the utility AI; sets the threshold score we need to beat
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class LastUtilityScoreState : StateData<float>
|
||||
public sealed class LastUtilityScoreState : StateData<float>
|
||||
{
|
||||
public override string Name => "LastBonus";
|
||||
private float _value = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user