PlaceableSurface ECS (#8013)

This commit is contained in:
metalgearsloth
2022-05-08 15:50:31 +10:00
committed by GitHub
parent 0ed3858f47
commit 6edb29f68b
2 changed files with 9 additions and 15 deletions

View File

@@ -1,12 +1,5 @@
using System;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Maths;
using Robust.Shared.Players;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Placeable
{
@@ -25,11 +18,6 @@ namespace Content.Shared.Placeable
[ViewVariables]
[DataField("positionOffset")]
public Vector2 PositionOffset { get; set; }
public override ComponentState GetComponentState()
{
return new PlaceableSurfaceComponentState(IsPlaceable,PlaceCentered, PositionOffset);
}
}
[Serializable, NetSerializable]