screen access
This commit is contained in:
parent
335992a338
commit
672826c326
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user