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;