made a func public

This commit is contained in:
Djeeberjr 2023-06-30 18:42:06 +02:00
parent 90e76c8cd9
commit 788c839937

View File

@ -36,7 +36,7 @@ class Peripheral {
return cc.Peripheral.getType(addr).toArray();
}
private function findAddrByType(type: String): Array<String> {
public function findAddrByType(type: String): Array<String> {
return getAllAddresses().filter(addr -> getTypes(addr).contains(type));
}