Competition Plotter connected, ready for debug

This commit is contained in:
Luis Fernando Molina committed 2018-03-12 10:55:21 +01:00
1 parent 100eb21689
commit 308bd0db5f
9 files changed
+219 -32

No files matched your search

+21
View File
@@ -21,6 +21,27 @@ function newEcosystem() {
}
function getHost(pHostCodeName) {
for (let i = 0; i < ECOSYSTEM.hosts.length; i++) {
if (ECOSYSTEM.hosts[i].codeName === pHostCodeName) {
return ECOSYSTEM.hosts[i];
}
}
}
function getCompetition(pHost, pCompetitionCodeName) {
for (let i = 0; i < pHost.competitions.length; i++) {
if (pHost.competitions[i].codeName === pCompetitionCodeName) {
return pHost.competitions[i];
}
}
}
function getTeams() {