public Guild(GuildInfo guildInfo, GuildHierarchy guildHierarchy) { NullGuard.ThrowIfNull(guildInfo, guildHierarchy); GuildInfo = guildInfo; Hierarchy = guildHierarchy; }
//TODO: Too many parameters, bad sign. Parameters container? public static MyGuild CreateNewMyGuild(Gamer guildMaster, List <Gamer> guildOfficers, List <Gamer> guildMembers, GuildInfo guildInfo, int maxMemberQuantity, int maxOfficerQuantity) { return(new MyGuild(guildInfo, new GuildHierarchy(guildMaster, maxMemberQuantity, maxOfficerQuantity, guildMembers, guildOfficers))); }
public static MyGuild CreateNewMyGuild(Gamer guildMaster, GuildInfo guildInfo, int maxMemberQuantity, int maxOfficerQuantity) { return(CreateNewMyGuild(guildMaster, null, null, guildInfo, maxMemberQuantity, maxOfficerQuantity)); }
public MyGuild(GuildInfo guildInfo, GuildHierarchy guildHierarchy) : base(guildInfo, guildHierarchy) { }