diff --git a/src/cc/periphs/Monitor.hx b/src/cc/periphs/Monitor.hx index 887a036..4f341e2 100644 --- a/src/cc/periphs/Monitor.hx +++ b/src/cc/periphs/Monitor.hx @@ -17,7 +17,7 @@ extern class ColorData { var b:Float; } -extern class Monitor { +@:luaDotMethod extern class Monitor { public function setTextScale(scale:Float):Void; // Set the scale of this monitor. public function getTextScale():Float; // Get the monitor's current text scale. public function write(text:String):Void; // Write text at the current cursor position, moving the cursor to the end of the text.