Java Universal Role Playing Engine Version 0.3.9

jurpe.combat
Class ReadyWeapon

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

public class ReadyWeapon
extends java.lang.Object
implements ICommand

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

See Also:
ICombat, DualCombat

Constructor Summary
ReadyWeapon(ICombat xCombat)
          Functor for ReadyWeapon 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

ReadyWeapon

public ReadyWeapon(ICombat xCombat)
Functor for ReadyWeapon Command

Parameters:
xCombat - Combat class in which method ReadyWeapon 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

Java Universal Role Playing Engine Version 0.3.9

Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.