Completely change naming conventions of field forms and definition macros. Close #32

This commit is contained in:
2021-07-24 14:22:10 -06:00
parent 9d6a4b2054
commit f5a5cdfb40
67 changed files with 433 additions and 447 deletions

View File

@@ -1,8 +1,8 @@
(defnew [])
(defmethod :Void initialize [:Assets assets]
(method :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]
(method :Void update [:Game game :Float deltaSeconds] 0)
(method :Void draw [:Void->Graphics graphics :Assets assets]
(oncePerInstance
(.blitSurface (graphics) (assets.getSurface "laptop") 0 0)))
(.blitSurface (graphics) (assets.getSurface "laptop") 0 0)))