From 672826c3265e118cf6be64019a354c5e30935bb5 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sat, 5 Mar 2022 03:06:56 +0100 Subject: [PATCH] screen access --- src/kernel/peripherals/Screen.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/peripherals/Screen.hx b/src/kernel/peripherals/Screen.hx index e10fa88..89974e9 100644 --- a/src/kernel/peripherals/Screen.hx +++ b/src/kernel/peripherals/Screen.hx @@ -17,7 +17,7 @@ class Screen implements TermWriteable implements IPeripheral { public final onResize:Signal>; @:allow(kernel.peripherals) - public function new(nativePeripherals:cc.periphs.Monitor.Monitor, addr:String) { + private function new(nativePeripherals:cc.periphs.Monitor.Monitor, addr:String) { this.onResize = onResizeTrigger.asSignal(); this.nativ = nativePeripherals;