interface name consistency

This commit is contained in:
2024-03-13 10:39:22 +01:00
parent 2ab5a38894
commit 4ab3d868c1
37 changed files with 94 additions and 94 deletions

View File

@@ -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);