Should be pretty easy. There's a List<Token> field in the Zone (or ZoneRenderer, or ZoneView) that keeps track of which tokens are selected. Add your token to that list and then call ZoneView.repaint().Rumble wrote:The biggest problem is I suck at the Java graphics stuff, so I don't know how to show when you've left-clicked or right-clicked on something.
I believe the ZoneView class has a static field called currentZone and that could be used to call repaint().
I'm sure there's a more efficient way of handling this than calling repaint(), but that would require digging into the ZoneView class in more detail. I'll do that when I get a chance.