Use new render! function

This commit is contained in:
oakes
2014-01-17 12:39:20 -05:00
parent 393cb6fa60
commit 7d9ceaa752

View File

@@ -55,10 +55,8 @@ For now, check out the [example projects](https://github.com/oakes/play-clj-exam
(fn [screen entities] (fn [screen entities]
; make the screen completely black ; make the screen completely black
(clear!) (clear!)
; render the tiled map ; render the tiled map, draw the entities and return them
(render! screen) (render! screen entities))
; draw the entities and return them
(draw! screen entities))
; this function runs when the screen dimensions change ; this function runs when the screen dimensions change
:on-resize :on-resize