Exemplo n.º 1
0
 @Override
 public void drawSelf(Graphics g) {
   if (sword != null) {
     sword.drawSelf(g);
   }
   super.drawSelf(g);
   splash.drawSelf(g);
 }
Exemplo n.º 2
0
  @Override
  public void drawSelf(Graphics g) {
    super.drawSelf(g);

    //		g.setColor(Color.RED);
    //		g.drawRect((int) baseBoundingBox.getX() - currentAnimation.getImage().getWidth(),
    //				(int) baseBoundingBox.getY() - currentAnimation.getImage().getHeight(),
    //				(int) baseBoundingBox.getWidth(),
    //				(int) baseBoundingBox.getHeight());
    //		g.setColor(Color.BLACK);

  }