/// <summary> /// Returns a string representation. /// </summary> /// <returns></returns> public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append(base.ToString()); sb.AppendLine("Fire Mission Index: " + fireMissionIndex); sb.AppendLine("Location: " + locationInWorldCoordinates.ToString()); if (descriptor != null) { sb.AppendLine(descriptor.ToString()); } sb.AppendLine("Velcoity: " + velocity.ToString()); sb.AppendLine("Range: " + range); return(sb.ToString()); }
/// <summary> /// Returns a string representation. /// </summary> /// <returns></returns> public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append(base.ToString()); sb.AppendLine("Velcoity: " + velocity.ToString()); sb.AppendLine("Location: " + locationInWorldCoordinates.ToString()); if (descriptor != null) { sb.AppendLine(descriptor.ToString()); } sb.AppendLine("Entity Location: " + locationInEntityCoordinates.ToString()); sb.AppendLine("Detonation Result: " + detonationResult); sb.AppendLine(variableParameters.ToString()); return(sb.ToString()); }
/// <summary> /// Returns a string representation. /// </summary> /// <returns></returns> public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append(base.ToString()); sb.Append("Entity Identifier: " + entityID.ToString()); sb.AppendLine("Force: " + forceID); sb.Append(entityType.ToString()); sb.Append(alternateEntityType.ToString()); sb.AppendLine("Linear Velocity: " + linearVelocity.ToString()); sb.AppendLine("World Coordinates: " + location.ToString()); sb.AppendLine("Orientation: " + orientation.ToString()); sb.Append(appearance.ToString()); // TODO: Entity Type specific appearance ToString() sb.Append(deadReckoningParameter.ToString()); sb.Append(marking.ToString()); sb.Append(capabilities.ToString()); sb.Append(variableParameters.ToString()); return(sb.ToString()); }