Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void click(java.awt.event.MouseEvent evt) {
- // TODO add your handling code here:
- int x = evt.getX();
- ZeeslagBord spelbord = (ZeeslagBord)tekenPanel;
- if (raakOfNie)
- spelbord.werpSchijf(bord.MIS, x);
- else
- spelbord.werpSchijf(bord.RAAK, x);
- raakOfNie = !raakOfNie;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement