Increase support

This commit is contained in:
2020-05-22 22:37:02 +02:00
parent d7971d8920
commit c144b2473c
8 changed files with 150 additions and 63 deletions

17
module/rdd-utility.js Normal file
View File

@ -0,0 +1,17 @@
/* Common useful functions shared between objects */
export class RdDUtility {
static findCompetence(compList, compName)
{
for (const item of compList) {
if (item.name == compName) {
console.log("Found item !", item);
return item;
}
}
}
}