mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 06:42:25 +02:00
28 lines
618 B
C#
28 lines
618 B
C#
using System;
|
|
using Robust.Shared.Physics;
|
|
using Robust.Shared.Physics.Dynamics;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Robust.Shared.GameObjects
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public enum BodyStatus: byte
|
|
{
|
|
OnGround,
|
|
InAir
|
|
}
|
|
|
|
/// <summary>
|
|
/// Sent whenever a <see cref="IPhysBody"/> is changed.
|
|
/// </summary>
|
|
public sealed class PhysicsUpdateMessage : EntityEventArgs
|
|
{
|
|
public PhysicsComponent Component { get; }
|
|
|
|
public PhysicsUpdateMessage(PhysicsComponent component)
|
|
{
|
|
Component = component;
|
|
}
|
|
}
|
|
}
|