equal
deleted
inserted
replaced
51 |
51 |
52 HWTeam::HWTeam(const QStringList& strLst) : |
52 HWTeam::HWTeam(const QStringList& strLst) : |
53 numHedgehogs(4) |
53 numHedgehogs(4) |
54 { |
54 { |
55 // net teams are configured from QStringList |
55 // net teams are configured from QStringList |
56 if(strLst.size()<13) throw HWTeamConstructException(); |
56 if(strLst.size() < 14) throw HWTeamConstructException(); |
57 TeamName=strLst[0]; |
57 TeamName=strLst[0]; |
58 m_netID=strLst[1].toUInt(); |
58 m_netID=strLst[1].toUInt(); |
59 Grave=strLst[2]; |
59 Grave=strLst[2]; |
60 Fort=strLst[3]; |
60 Fort=strLst[3]; |
61 difficulty=strLst[4].toUInt(); |
61 difficulty=strLst[4].toUInt(); |