Created
April 15, 2014 15:30
-
-
Save TrevorS/10741919 to your computer and use it in GitHub Desktop.
replaced_display_code.java
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
p1.clearDrawminoes(); | |
for (Dom d : g.getHand(0).getDoms()) { | |
p1.addDrawmino(new Drawmino(d)); | |
} | |
p2.clearDrawminoes(); | |
for (Dom d : g.getHand(1).getDoms()) { | |
p2.addDrawmino(new Drawmino(d)); | |
} | |
boardPanel.clearDrawminoes(); | |
FaBoardRep rep = (FaBoardRep) g.getBoard().getRep(); | |
System.out.println("display, leftDoms: " + rep.getLeftDoms()); | |
for (Dom d : rep.getLeftDoms()) { | |
boardPanel.addLeftDrawmino(new Drawmino(d)); | |
} | |
System.out.println("display, rightDoms: " + rep.getRightDoms()); | |
for (Dom d : rep.getRightDoms()) { | |
boardPanel.addRightDrawmino(new Drawmino(d)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment