Package | Description |
---|---|
simkit.smdx |
Contains basic classes to represent the entities in a combat simulation.
|
Modifier and Type | Class and Description |
---|---|
class |
CircularImpactMunition
A Munition that has an area of effect that is a circle centered around its
aim point.
|
Modifier and Type | Method and Description |
---|---|
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 |
CircularImpactMunition.doImpact(Munition munition)
It is up to a MunitionTargetReferee to determine the effect of the Impact
event.
|
void |
Munition.doImpact(Munition munition)
An Event that occurs when this Munition reaches its impact point.
|
void |
MunitionTargetReferee.doImpact(Munition munition)
Notifies this referee that the given Munition has impacted.
|
void |
BasicWeapon.doShoot(Munition munition,
java.awt.geom.Point2D aimPoint)
Deprecated.
|
void |
Weapon.doShoot(Munition munition,
java.awt.geom.Point2D aimPoint)
An event that occurs when this Weapon fires the Munition at a point.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
MunitionTargetAdjudicatorFactory.addAdjudicator(java.lang.Class<? extends Munition> munitionClass,
java.lang.Class<? extends Mover> targetClass,
java.lang.Class<? extends Adjudicator> adjudicatorClass)
Creates and adds to the container an Adjudicator of the specified Class.
|