Add cargo shuttle (#8686)
This commit is contained in:
@@ -8,16 +8,28 @@ namespace Content.Shared.Shuttles.BUIStates;
|
||||
public class RadarConsoleBoundInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly float MaxRange;
|
||||
public readonly EntityUid? Entity;
|
||||
|
||||
/// <summary>
|
||||
/// The relevant coordinates to base the radar around.
|
||||
/// </summary>
|
||||
public EntityCoordinates? Coordinates;
|
||||
|
||||
/// <summary>
|
||||
/// The relevant rotation to rotate the angle around.
|
||||
/// </summary>
|
||||
public Angle? Angle;
|
||||
|
||||
public readonly List<DockingInterfaceState> Docks;
|
||||
|
||||
public RadarConsoleBoundInterfaceState(
|
||||
float maxRange,
|
||||
EntityUid? entity,
|
||||
EntityCoordinates? coordinates,
|
||||
Angle? angle,
|
||||
List<DockingInterfaceState> docks)
|
||||
{
|
||||
MaxRange = maxRange;
|
||||
Entity = entity;
|
||||
Coordinates = coordinates;
|
||||
Angle = angle;
|
||||
Docks = docks;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,8 +12,9 @@ public sealed class ShuttleConsoleBoundInterfaceState : RadarConsoleBoundInterfa
|
||||
public ShuttleConsoleBoundInterfaceState(
|
||||
ShuttleMode mode,
|
||||
float maxRange,
|
||||
EntityUid? entity,
|
||||
List<DockingInterfaceState> docks) : base(maxRange, entity, docks)
|
||||
EntityCoordinates? coordinates,
|
||||
Angle? angle,
|
||||
List<DockingInterfaceState> docks) : base(maxRange, coordinates, angle, docks)
|
||||
{
|
||||
Mode = mode;
|
||||
}
|
||||
|
||||
@@ -17,5 +17,5 @@ public sealed class RadarConsoleComponent : Component
|
||||
}
|
||||
|
||||
[ViewVariables, DataField("maxRange")]
|
||||
public float MaxRange = 120f;
|
||||
public float MaxRange = 256f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user