-
-
Save tskardal/e189daf48e971e2a3197 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 add-buttons [panel game] | |
(for [x (range 0 (:width game)) | |
y (range 0 (:height game))] | |
(doto panel | |
(.add (JButton. "yay button"))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment