Competition Plotter connected, ready for debug
This commit is contained in:
1 parent
100eb21689
commit
308bd0db5f
9 files changed
+219
-32
No files matched your search
@@ -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() {
|
||||
|
||||
|
||||
Reference in new issue
Block a user