added isWireless function to Modem

This commit is contained in:
Djeeberjr 2023-03-25 00:23:40 +01:00
parent 793639c69d
commit 82827ed921

View File

@ -34,6 +34,10 @@ class Modem implements INetworkInterface implements IPeripheral {
}); });
} }
public function isWireless():Bool {
return native.isWireless();
}
public function listen(chan:Int) { public function listen(chan:Int) {
native.open(chan); native.open(chan);
} }