public static Metadata ReadLineIntoMetadata() { var metadata = ReadLine(); DebugLog.AddLog($"Metadata: '{metadata}'"); return(new Metadata(metadata.Trim().Split(' '))); return(new Metadata(ReadLine().Trim().Split(' '))); }
public void Claim(Planet planet) { if (!claimed) { planet.AddShipClaim(this); DebugLog.AddLog($"Ship: {GetId()} Claimed!"); claimed = true; } else { throw new Exception("Claimed already claimed entity."); } }
public void ClaimStateless() { claimed = true; DebugLog.AddLog($"Ship: {GetId()} Claimed For One Round!"); }