This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ca.akjir.hex | |
import javafx.application.Application | |
import javafx.event.EventHandler | |
import javafx.scene.Group | |
import javafx.scene.Scene | |
import javafx.scene.canvas.Canvas | |
import javafx.scene.canvas.GraphicsContext | |
import javafx.scene.input.MouseEvent | |
import javafx.scene.paint.Color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Main extends App { | |
val printer = new Printer[String]() | |
val break = true | |
val text = "access granted" | |
//cannot be accessed: | |
//printer.printCodeName | |
//printer.codeName = "Rejewski" | |
//printer.printCodeName |