|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICombat
Combat commands available. Implement every command with Functor Design Pattern. IE: move() function must be implemented as a Combat_Move.class
DualCombat,
JurpeFrame_Combat| Field Summary | |
|---|---|
static java.lang.String[] |
AVAILABLE_COMBAT_COMMANDS
Returns all available commands as an array of Strings |
static int |
CM_AIM
|
static int |
CM_ALLOATT
|
static int |
CM_ALLODEF
|
static int |
CM_ATTAK
|
static int |
CM_MOVE
|
static int |
CM_RDYWPN
|
static int |
CM_RELOAD
|
| Method Summary | |
|---|---|
boolean |
aim()
Aim a ranged weapon |
boolean |
allOutAttack()
Make a special, all out attack |
boolean |
allOutDefense()
Make a special, all out defense |
boolean |
attack()
Make an attack |
java.lang.String |
log()
Get log of actions. |
boolean |
move()
Make a move and/or escape. |
boolean |
readyWeapon()
Ready an unbalanced weapon. |
boolean |
reload()
Reload weapon |
| Field Detail |
|---|
static final int CM_MOVE
static final int CM_RDYWPN
static final int CM_RELOAD
static final int CM_AIM
static final int CM_ATTAK
static final int CM_ALLOATT
static final int CM_ALLODEF
static final java.lang.String[] AVAILABLE_COMBAT_COMMANDS
| Method Detail |
|---|
boolean move()
boolean readyWeapon()
boolean reload()
boolean aim()
boolean attack()
boolean allOutAttack()
boolean allOutDefense()
java.lang.String log()
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||