* Removed obsolete EntitySystemMessage, now everything uses the base EntityEventArgs or the derived HandledEntityEventArgs. Setup InteractionSystem to use new directed events. * Update Submodule.
19 lines
406 B
C#
19 lines
406 B
C#
#nullable enable
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Content.Shared.GameObjects.EntitySystemMessages.Gravity
|
|
{
|
|
public class GravityChangedMessage : EntityEventArgs
|
|
{
|
|
public GravityChangedMessage(IMapGrid grid)
|
|
{
|
|
Grid = grid;
|
|
}
|
|
|
|
public IMapGrid Grid { get; }
|
|
|
|
public bool HasGravity => Grid.HasGravity;
|
|
}
|
|
}
|