luaDotMethod on modem
This commit is contained in:
parent
e764c1a25c
commit
758c0633c8
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user