using System; using System.Collections.Generic; using Robust.Shared.Physics; using Robust.Shared.Serialization; namespace Robust.Shared.GameObjects { [Serializable, NetSerializable] public class CollidableComponentState : ComponentState { public readonly bool CollisionEnabled; public readonly bool HardCollidable; public readonly bool ScrapingFloor; public readonly List PhysShapes; public CollidableComponentState(bool collisionEnabled, bool hardCollidable, bool scrapingFloor, List physShapes) : base(NetIDs.COLLIDABLE) { CollisionEnabled = collisionEnabled; HardCollidable = hardCollidable; ScrapingFloor = scrapingFloor; PhysShapes = physShapes; } } }