Package | Description |
---|---|
simkit.smdx |
Contains basic classes to represent the entities in a combat simulation.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleTarget
A Target that is only subject to being killed, not damaged.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Target> |
MunitionTargetReferee.targets
The Targets that are registered with this referee.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Target> |
MunitionTargetReferee.getTargets() |
Modifier and Type | Method and Description |
---|---|
void |
MunitionTargetReferee.addTarget(Target target)
Adds a Target to the list of Targets this referee will check when a
Munition Impact occurs.
|
void |
Adjudicator.adjudicate(Munition munition,
Target target)
Determines the result of an interaction between a Target and a Munition.
|
void |
DefaultAdjudicator.adjudicate(Munition munition,
Target target)
Does nothing.
|
void |
SureFireKillAdjudicator.adjudicate(Munition munition,
Target target)
Calls
kill on the Target if the actual location
of the Target is inside the impact Shape of the Munition. |
void |
BasicWeapon.doShoot(Weapon weapon,
Target target)
Deprecated.
|
void |
BasicWeapon.fireAt(Target target)
Deprecated.
|
static Adjudicator |
MunitionTargetAdjudicatorFactory.getAdjudicator(Munition munition,
Target target)
If an Adjudicator has not been specified for the Munition-Target pair,
then returns the default Adjudicator.
|
void |
MunitionTargetReferee.removeTarget(Target target)
Removes a Target from the list of registered Targets.
|