Skip to content

Commit

Permalink
Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman committed Jun 17, 2024
1 parent d6c0ea3 commit f618e72
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace Server.Gumps;

public abstract class SelectAddonPositionGump<T> : StaticGump<T> where T : SelectAddonPositionGump<T>
public abstract class AddonDirectionSelectionGump<T> : StaticGump<T> where T : AddonDirectionSelectionGump<T>
{
private readonly IPositionSelectableDeed _deed;
private readonly IDirectionAddonDeed _deed;

public SelectAddonPositionGump(IPositionSelectableDeed deed) : base(60, 63) => _deed = deed;
public AddonDirectionSelectionGump(IDirectionAddonDeed deed) : base(60, 63) => _deed = deed;

public abstract int SelectionNumber { get; }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Server.Items;

public interface IPositionSelectableDeed : IEntity
public interface IDirectionAddonDeed : IEntity
{
public bool East { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public BrokenVanityAddon(bool east)
}

[SerializationGenerator(0)]
public partial class BrokenVanityDeed : BaseAddonDeed, IPositionSelectableDeed
public partial class BrokenVanityDeed : BaseAddonDeed, IDirectionAddonDeed
{
public bool East { get; set; }

Expand Down Expand Up @@ -54,9 +54,9 @@ public void SendTarget(Mobile m)
base.OnDoubleClick(m);
}

private class InternalGump : SelectAddonPositionGump<InternalGump>
private class InternalGump : AddonDirectionSelectionGump<InternalGump>
{
public InternalGump(IPositionSelectableDeed deed) : base(deed)
public InternalGump(IDirectionAddonDeed deed) : base(deed)
{
}

Expand Down

0 comments on commit f618e72

Please sign in to comment.