

import java.lang.*;
import java.applet.*;
import java.awt.*;

public class ShieldMan extends Player
{
//    Image shieldAbility2img; 
//    SquareAttack[] shieldAbility = new SquareAttack[3];

    /**
     * Constructor for objects of class ShieldMan
     */

    public ShieldMan(Image img1, Image img2)
    {
        super(img1, img2);
        speed = 1;
        maxHealth = 300;
        health = 300;
        dmgMod = 1;
        armorMod = 1.3;
//        shieldAbility2img = getImage(getCodeBase(), "shieldAbility2img.PNG");
    }
    
    public void useAbility1()
    {
        
        this.takeDmg(5);
    }
    
    public void useAbility2()
    {
  //      shieldAbility[1] = new SquareAttack(shieldAbility2img, (x+Math.cos(Math.toRadians(rotation)*20)), 
  //                                              (y+Math.sin(Math.toRadians(rotation)*20)), 15, 10);
    }
    
    public void useAbility3()
    {
    }

}

