21 lines
332 B
CoffeeScript
21 lines
332 B
CoffeeScript
$ ->
|
|
playground({
|
|
width: 16*20,
|
|
height: 16*20,
|
|
scaleToFit: true,
|
|
smoothing: false,
|
|
|
|
create: ->
|
|
# TODO: Load images
|
|
|
|
ready: ->
|
|
# TODO: Start the game
|
|
# TODO: setTimeout?
|
|
|
|
step: ->
|
|
# TODO: For internal stuff like progress bar
|
|
|
|
render: ->
|
|
# TODO: this.game.render?
|
|
})
|