interface name consistency
This commit is contained in:
@@ -3,7 +3,7 @@ package kernel.ui;
|
||||
import lib.Pos;
|
||||
import lib.Vec.Vec2;
|
||||
import lib.Color;
|
||||
import kernel.ui.TermWriteable;
|
||||
import kernel.ui.ITermWriteable;
|
||||
|
||||
using tink.CoreApi;
|
||||
|
||||
@@ -12,7 +12,7 @@ using tink.CoreApi;
|
||||
even if its not displayed right now. When the GUI gets displayed again
|
||||
this buffer will be written to the screen.
|
||||
**/
|
||||
class TermBuffer implements TermWriteable {
|
||||
class TermBuffer implements ITermWriteable {
|
||||
/**
|
||||
format [y][x]. First index is the line. Second index the char in the line.
|
||||
**/
|
||||
@@ -60,7 +60,7 @@ class TermBuffer implements TermWriteable {
|
||||
}
|
||||
}
|
||||
|
||||
private function copyBufferToTarget(target:TermWriteable) {
|
||||
private function copyBufferToTarget(target:ITermWriteable) {
|
||||
target.setCursorPos(0, 0);
|
||||
target.setBackgroundColor(Black);
|
||||
target.setTextColor(White);
|
||||
|
||||
Reference in New Issue
Block a user