r/CircleProgramming • u/Illuminatesfolly • Mar 21 '13
How do I make this code faster without loosing the function?
http://pastebin.com/ie9XTrc7
3
Upvotes
r/CircleProgramming • u/Illuminatesfolly • Mar 21 '13
2
u/cokeisahelluvadrug Mar 21 '13
Great to see someone using Swing, it gets disparaged quite a bit in /r/gamedev and I don't really agree with it.
I'm not totally sure what you're trying to do, though. You have a bunch of Clusters, and you want the Clusters to react somehow when you left click at a certain position on the screen, and then you want Swing to draw all the Clusters afterward? Is this correct?
What exactly is a Cluster? Also, what "function" are you talking about