screen access

This commit is contained in:
Djeeberjr 2022-03-05 03:06:56 +01:00
parent 335992a338
commit 672826c326

View File

@ -17,7 +17,7 @@ class Screen implements TermWriteable implements IPeripheral {
public final onResize:Signal<Vec2<Int>>;
@: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;