Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Valkryst/8b1bab211650cb2ab427aa51db0f176e to your computer and use it in GitHub Desktop.
Save Valkryst/8b1bab211650cb2ab427aa51db0f176e to your computer and use it in GitHub Desktop.
import com.valkryst.VTerminal.Screen;
import java.io.IOException;
public class Driver {
public static void main(final String[] args) throws IOException {
final Screen screen = new Screen(20, 5);
screen.addCanvasToFrame();
for (int y = 0 ; y < screen.getHeight() ; y++) {
for (int x = 0 ; x < screen.getWidth() ; x++) {
screen.getTileAt(x, y).setCharacter('X');
}
}
screen.draw();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment