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; }
public Guild(CodeHatch.Thrones.SocialSystem.Guild guild) { Id = guild.BaseID; Name = guild.Name; DisplayName = guild.DisplayName; }