Updates the content components to be compatible with the changes in 55a50ff7ba.

Updates engine submodule.
This commit is contained in:
Acruid
2019-09-18 11:29:12 -07:00
parent 364279e0f7
commit dd06c71735
13 changed files with 41 additions and 25 deletions

View File

@@ -75,7 +75,8 @@ namespace Content.Client.GameObjects.Components.IconSmoothing
serializer.DataFieldCached(ref _mode, "mode", IconSmoothingMode.Corners);
}
public override void Startup()
/// <inheritdoc />
protected override void Startup()
{
base.Startup();
@@ -196,7 +197,8 @@ namespace Content.Client.GameObjects.Components.IconSmoothing
Sprite.LayerSetState(CornerLayers.NW, $"{StateBase}{(int) cornerNW}");
}
public override void Shutdown()
/// <inheritdoc />
protected override void Shutdown()
{
SnapGrid.OnPositionChanged -= SnapGridOnPositionChanged;
Owner.EntityManager.RaiseEvent(Owner, new IconSmoothDirtyEvent(_lastPosition, SnapGrid.Offset, Mode));