@Override
  public void render(Graphics2D g) {
    currentPlayField.render(g);

    // handles those few sprites behind the players that we don't want to
    // collide immediately upon creation
    for (Sprite currentSprite : blockQueue) {
      currentSprite.render(g);
    }
  }
Esempio n. 2
0
  @Override
  public void render(Graphics2D g) {
    super.render(g);

    createButtonRect(g, true);
    createText(g);

    // カーソルが重なったら,ボタンを枠で囲む
    if (isMouseCursorOverlaped()) {
      createButtonOutsideRect(g);
    }
  }