Last active
June 2, 2019 23:10
-
-
Save ezequielp/84a8454f7500669cbf79c17415f8e937 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn rotate_puyos | |
"Rotates tiles around center" | |
[& {:keys [tiles center] :or {center [0 0]}}] | |
(implementacion)) | |
(def puyo_block | |
{:behaviours {[:framework/listens ::game_events/user-command ::game_events/rotate_right] [:transforms/rotate_right] | |
[:framework/listens ::game_events/user-command ::game_events/rotate_left] [:transforms/rotate_left] | |
[:framework/listens ::game_events/gravity-tick] [:transforms/puyo_down]} | |
:transforms {[:transforms/rotate_right] rotate_puyos}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment