public virtual bool CanInstallToHardpoint(Entity shipEntity, Hardpoint slot) { return Size == slot.Size && slot.Type == HardpointType.Module; }
public HardpointComponent(Hardpoint hardpoint) { Hardpoint = hardpoint; }
public static FloatRect GetIconBoundingBox(Hardpoint hardpoint) { float size = Lengths[hardpoint.Size] / 10; return new FloatRect(Vector2.Zero, new Vector2(size*2)); }