|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eoi.freya.game.XMLObject | +--com.eoi.freya.turn.BasePhase | +--com.eoi.freya.basic.BasicPhase | +--com.eoi.freya.basic.BasicUnitPhase | +--com.eoi.freya.basic.BasicCombat
The Combat Phase checks that the units are able to fight and in the same place and then hands over the combat to the units involved.
Fields inherited from class com.eoi.freya.basic.BasicUnitPhase |
command |
Fields inherited from class com.eoi.freya.turn.BasePhase |
player, playerCommands, repeat |
Fields inherited from class com.eoi.freya.game.XMLObject |
info |
Constructor Summary | |
BasicCombat()
|
Method Summary | |
org.jdom.Element |
executeForUnit(BasicUnit unit,
org.jdom.Element attackCommand)
|
Methods inherited from class com.eoi.freya.basic.BasicUnitPhase |
execute, getCommand, setCommand |
Methods inherited from class com.eoi.freya.basic.BasicPhase |
getPlayer |
Methods inherited from class com.eoi.freya.turn.BasePhase |
getCommands, getPlayerCommands, getPlayerDocument, getPlayerDocument, getPlayerName, repeatForAllPlayers, setPlayer, setPlayerCommands |
Methods inherited from class com.eoi.freya.game.XMLObject |
addElement, getElement, getInfo, getIntSetting, getIterator, getName, getSetting, isSetting, setBooleanSetting, setInfo, setIntSetting, setName, setSetting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.eoi.freya.turn.Phase |
getInfo, getName, setInfo, setName |
Constructor Detail |
public BasicCombat()
Method Detail |
public org.jdom.Element executeForUnit(BasicUnit unit, org.jdom.Element attackCommand)
executeForUnit
in class BasicUnitPhase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |