Untitled
Anonymous
plain_text
09/26/2022 5:06 PM
348 B
13
Indexable
val game = Game()
object flappyView extends View(game, "FlappyBug"):
def makePic =
val obstaclePic = rockPic(game.obstacle)
scenery.place(obstaclePic, game.obstacle.pos).place(bugPic, game.bug.pos)
@main def launchFlappy() =
flappyView.start()Editor is loading...