Beispiel #1
0
        public static Metadata ReadLineIntoMetadata()
        {
            var metadata = ReadLine();

            DebugLog.AddLog($"Metadata: '{metadata}'");
            return(new Metadata(metadata.Trim().Split(' ')));

            return(new Metadata(ReadLine().Trim().Split(' ')));
        }
Beispiel #2
0
 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.");
     }
 }
Beispiel #3
0
 public void ClaimStateless()
 {
     claimed = true;
     DebugLog.AddLog($"Ship: {GetId()} Claimed For One Round!");
 }