jurpe.combat
Class Combat_AllOutDefense

java.lang.Object
  extended by jurpe.combat.Combat_AllOutDefense
All Implemented Interfaces:
ICommand

public class Combat_AllOutDefense
extends java.lang.Object
implements ICommand

Utility class for Command Design Pattern. Provides a functor for combat.allOutDefense().

Author:
Alessio Saltarin
See Also:
Combat, DualCombat

Constructor Summary
Combat_AllOutDefense(ICombat xCombat)
          Functor for AllOutDefense Command
 
Method Summary
 boolean execute()
          Execute this command
 java.lang.String getLog()
          Get log generated by command
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Combat_AllOutDefense

public Combat_AllOutDefense(ICombat xCombat)
Functor for AllOutDefense Command

Parameters:
xCombat - Combat class in which method AllOutDefense is defined
Method Detail

execute

public boolean execute()
Execute this command

Specified by:
execute in interface ICommand
Returns:
boolean depending on context

getLog

public java.lang.String getLog()
Get log generated by command

Specified by:
getLog in interface ICommand
Returns:
log generated by command

Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net