|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CombatModel | |
---|---|
net.sf.freecol.common.model | Contains the game model. |
net.sf.freecol.server.ai.mission | Contains the missions an AIUnit can be assigned to. |
Uses of CombatModel in net.sf.freecol.common.model |
---|
Classes in net.sf.freecol.common.model that implement CombatModel | |
---|---|
class |
SimpleCombatModel
This class implements the original Colonization combat model. |
Methods in net.sf.freecol.common.model that return CombatModel | |
---|---|
CombatModel |
Game.getCombatModel()
Get the CombatModel value. |
Methods in net.sf.freecol.common.model with parameters of type CombatModel | |
---|---|
void |
Game.setCombatModel(CombatModel newCombatModel)
Set the CombatModel value. |
Uses of CombatModel in net.sf.freecol.server.ai.mission |
---|
Methods in net.sf.freecol.server.ai.mission with parameters of type CombatModel | |
---|---|
static int |
PrivateerMission.getModifierValueForTarget(CombatModel combatModel,
Unit attacker,
Unit defender)
Calculates the modifier used when assessing the value of a target to a privateer Note: it gives a modifier value, other parameters should be considered as well Note: we assume the unit given is a privateer, no test is made |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |