示例#1
0
 private void drawActionBox(Graphics2D g2d) {
   // Draw the MainCharacter and enemy images
   // Draw the buttons
   cardButton.draw(g2d);
   itemButton.draw(g2d);
   drawButton.draw(g2d);
   runButton.draw(g2d);
   if (turnState == 0) {
     actionScroller.draw(g2d);
   } else if (turnState == 1) {
     cardScroller.draw(g2d);
   } else if (turnState == 2) {
     itemMenu.draw(g2d);
   } else if (turnState == 3) {
     deckScroller.draw(g2d);
   }
 }