diff --git a/projects/_standalone/habit-puzzles/haxe_libraries/re-flex.hxml b/projects/_standalone/habit-puzzles/haxe_libraries/re-flex.hxml new file mode 100644 index 00000000..22021d3e --- /dev/null +++ b/projects/_standalone/habit-puzzles/haxe_libraries/re-flex.hxml @@ -0,0 +1,5 @@ +# @install: lix --silent download "gh://github.com/kiss-lang/re-flex#4a7f6b0f3024e36c02b15daf3f50ab219599ecd8" into re-flex/0.0.0/github/4a7f6b0f3024e36c02b15daf3f50ab219599ecd8 +# @run: haxelib run-dir re-flex "${HAXE_LIBCACHE}/re-flex/0.0.0/github/4a7f6b0f3024e36c02b15daf3f50ab219599ecd8" +-lib kiss +-cp ${HAXE_LIBCACHE}/re-flex/0.0.0/github/4a7f6b0f3024e36c02b15daf3f50ab219599ecd8/src/ +-D re-flex=0.0.0 \ No newline at end of file diff --git a/projects/_standalone/habit-puzzles/source/HabitState.hx b/projects/_standalone/habit-puzzles/source/HabitState.hx index 5d8680bf..3db3ce02 100644 --- a/projects/_standalone/habit-puzzles/source/HabitState.hx +++ b/projects/_standalone/habit-puzzles/source/HabitState.hx @@ -44,6 +44,7 @@ import jigsawx.JigsawPiece; import jigsawx.Jigsawx; import jigsawx.math.Vec2; import kiss_flixel.DragToSelectPlugin; +import re_flex.R; import FlxPomTimer; typedef StartPuzzleFunc = (Int, Int) -> Void;