/**
* -->This page is prepared by LordAmit
*/
package observer.strategypattern;
/**
*
* @author LordAmit
*/
public class FriendlyFight implements IMode{
/**
* invokes the friendly fighting aka tea party method
* @author LordAmit
* @param sol specifies the Soldier which is being used.
*
* @since 2011
*/
public void fight(Soldier sol) {
System.out.println("This is "+sol.getName()+ " having a tea party");
}
}