renamed Pos and Pos3
This commit is contained in:
@@ -2,7 +2,7 @@ package kernel.peripherals;
|
||||
|
||||
import cc.Peripheral;
|
||||
import lib.Rect;
|
||||
import lib.Pos;
|
||||
import lib.ScreenPos;
|
||||
|
||||
class Printer implements IPeripheral {
|
||||
public static inline final TYPE_NAME:String = "printer";
|
||||
@@ -25,11 +25,11 @@ class Printer implements IPeripheral {
|
||||
|
||||
public function write(text:String) {}
|
||||
|
||||
public function getCurserPos():Pos {
|
||||
return new Pos({x: 0, y: 0});
|
||||
public function getCurserPos():ScreenPos {
|
||||
return new ScreenPos({x: 0, y: 0});
|
||||
}
|
||||
|
||||
public function setCurserPos(pos:Pos) {
|
||||
public function setCurserPos(pos:ScreenPos) {
|
||||
this.native.setCursorPos(pos.x, pos.y);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user