Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
import "input" for Keyboard
|
||||
import "dome" for Window, Process
|
||||
import "graphics" for Canvas, Color
|
||||
|
||||
class Game {
|
||||
static init() {
|
||||
Canvas.print("Maximize the window and press 'm'", 0, 0, Color.white)
|
||||
}
|
||||
|
||||
static update() {
|
||||
if (Keyboard.isKeyDown("m") ) {
|
||||
System.print("Maximum window dimensions are %(Window.width) x %(Window.height)")
|
||||
Process.exit(0)
|
||||
}
|
||||
}
|
||||
|
||||
static draw(alpha) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue