예제 #1
0
 public War(CodeHatch.Thrones.SocialSystem.Guild declarer, CodeHatch.Thrones.SocialSystem.Guild defender, double wartimeLength = 0, double preptimeLength = 0)
 {
     Declarer      = new Guild(declarer);
     Defender      = new Guild(defender);
     HasCommenced  = false;
     WarTime       = TimeSpan.FromSeconds(wartimeLength);
     PrepTime      = TimeSpan.FromSeconds(preptimeLength);
     RemainingTime = WarTime + PrepTime;
 }
예제 #2
0
 public Guild(CodeHatch.Thrones.SocialSystem.Guild guild)
 {
     Id          = guild.BaseID;
     Name        = guild.Name;
     DisplayName = guild.DisplayName;
 }