Hollywoo allow defining positions at runtime

This commit is contained in:
2023-04-12 17:23:49 -06:00
parent 8af8084f56
commit dba039b8a2

View File

@@ -155,6 +155,11 @@
}) })
(FlxG.state.add screen))) (FlxG.state.add screen)))
(method :Void defineStagePosition [:StagePosition->Void submit]
(defineFlxPoint
->point
(submit (new StagePosition point.x point.y 0.0))))
(method :Void defineLightSource [:FlxLightSource->Void submit] (method :Void defineLightSource [:FlxLightSource->Void submit]
(let [points []] (let [points []]
(withFunctions (withFunctions