/**
* -->This page is prepared by LordAmit
*/
package observer.strategypattern;
/**
*
* @author LordAmit
*/
public class DefensiveFight implements IMode{
/**
* invokes the defensive fighting method
* @author LordAmit
* @param sol specifies the Soldier which is being used.
* @since 2011
*/
public void fight(Soldier sol) {
System.out.println("Hi, this is "+sol.getName()+" fighting defensively");
}
}