continue fleet summary, factor out helper class.
This commit is contained in:
		
							
								
								
									
										14
									
								
								Stars Assistant/Model/FleetSummary.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Stars Assistant/Model/FleetSummary.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
using System;
 | 
			
		||||
 | 
			
		||||
namespace StarsAssistant.Model;
 | 
			
		||||
 | 
			
		||||
public class FleetSummary
 | 
			
		||||
{
 | 
			
		||||
        public string Destination { get; set; } = string.Empty;
 | 
			
		||||
        public int TotalIronium { get; set; }
 | 
			
		||||
        public int TotalBoranium { get; set; }
 | 
			
		||||
        public int TotalGermanium { get; set; }
 | 
			
		||||
        public int TotalColonists { get; set; }
 | 
			
		||||
 | 
			
		||||
        public override string ToString() => $"To {Destination}: {TotalIronium}I/{TotalBoranium}B/{TotalGermanium}G/{TotalColonists}C";
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user