8 lines
187 B
Plaintext
8 lines
187 B
Plaintext
Class GameApp Extends App
|
|
Field player:Player
|
|
Method OnCreate:Int()
|
|
local img:Image = LoadImage("player.png")
|
|
player = New Player(img, 100, 100)
|
|
SetUpdateRate 60
|
|
End
|
|
End |