8 lines
329 B
Plaintext
8 lines
329 B
Plaintext
(defnew [])
|
|
|
|
(defmethod :Void initialize [:Assets assets]
|
|
(assets.loadSurface "laptop" AssetPaths.laptop__srf))
|
|
(defmethod :Void update [:Game game :Float deltaSeconds] 0)
|
|
(defmethod :Void draw [:Void->Graphics graphics :Assets assets]
|
|
(oncePerInstance
|
|
(.blitSurface (graphics) (assets.getSurface "laptop") 0 0))) |