luaDotMethod on modem

This commit is contained in:
Djeeberjr 2022-02-21 18:03:33 +01:00
parent e764c1a25c
commit 758c0633c8

View File

@ -2,7 +2,7 @@ package cc.periphs;
import lua.Table; import lua.Table;
extern class Modem { @:luaDotMethod extern class Modem {
public function open(channel:Int):Void; // Open a channel on a modem. public function open(channel:Int):Void; // Open a channel on a modem.
public function isOpen(channel:Int):Bool; // Check if a channel is open. public function isOpen(channel:Int):Bool; // Check if a channel is open.
public function close(channel:Int):Void; // Close an open channel, meaning it will no longer receive messages. public function close(channel:Int):Void; // Close an open channel, meaning it will no longer receive messages.