Skip to content

Instantly share code, notes, and snippets.

@ezequielp

ezequielp/ejemplo.clj

Last active Jun 2, 2019
Embed
What would you like to do?
(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