Example #1
0
  @Override
  void draw(Graphics2D g) {
    if (vulnerable && vulncount / 5 % 5 == 0) {

      g.drawImage(curSprite, luo, (int) x, (int) y);
    } else {
      super.draw(g);
    }
  }
Example #2
0
  public void draw(Graphics2D g) {
    setMapPosition();

    super.draw(g);
  }