Simplify IDockHost interface
This commit is contained in:
@@ -246,8 +246,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
int ReservationCount { get; }
|
||||
bool CanBeReserved { get; }
|
||||
WPos DockPosition { get; }
|
||||
int DockWait { get; }
|
||||
WAngle DockAngle { get; }
|
||||
|
||||
/// <summary>Can this <paramref name="client"/> dock at this <see cref="IDockHost"/>.</summary>
|
||||
/// <remarks>
|
||||
@@ -269,13 +267,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
void QueueDockActivity(Activity moveToDockActivity, Actor self, Actor clientActor, DockClientManager client);
|
||||
}
|
||||
|
||||
public interface IDockHostDrag
|
||||
{
|
||||
bool IsDragRequired { get; }
|
||||
WVec DragOffset { get; }
|
||||
int DragLength { get; }
|
||||
}
|
||||
|
||||
public interface IDockClientManagerInfo : ITraitInfoInterface { }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
|
||||
Reference in New Issue
Block a user