Remove IMobStateComponent (#5220)
This commit is contained in:
committed by
GitHub
parent
4236551d86
commit
f5b11d6af8
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.MobState.State;
|
||||
using Content.Shared.MobState.Components;
|
||||
using Content.Shared.MobState.State;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.MobState
|
||||
@@ -8,7 +9,7 @@ namespace Content.Shared.MobState
|
||||
#pragma warning restore 618
|
||||
{
|
||||
public MobStateChangedMessage(
|
||||
IMobStateComponent component,
|
||||
MobStateComponent component,
|
||||
IMobState? oldMobState,
|
||||
IMobState currentMobState)
|
||||
{
|
||||
@@ -19,7 +20,7 @@ namespace Content.Shared.MobState
|
||||
|
||||
public IEntity Entity => Component.Owner;
|
||||
|
||||
public IMobStateComponent Component { get; }
|
||||
public MobStateComponent Component { get; }
|
||||
|
||||
public IMobState? OldMobState { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user