Package | Description |
---|---|
simkit.smdx |
Contains basic classes to represent the entities in a combat simulation.
|
simkit.smdx.test |
Modifier and Type | Interface and Description |
---|---|
interface |
Contact
A doppleganger for a Moveable - to be passed by a SensorTargetMediator in lieu
of the actual target.
|
interface |
Displayable
A SimEntity implementing this interface will be able to be displayed in the
Simkit Viewer.
|
interface |
Mover
A SimEntity whose movement can be controlled and that can interact
with Sensors.
|
interface |
Munition
A Munition is an entity can interact with a Target.
|
interface |
Sensor
Represents an object that can detect a Mover.
|
interface |
Target
A Mover that can be acted on by a Munition and is subject to being killed or
damaged.
|
interface |
Weapon
Represents a weapon system that can fire Munitions.
|
Modifier and Type | Class and Description |
---|---|
class |
AcceleratedMover
Deprecated.
Not yet fully implemented.
|
class |
BasicWeapon
Deprecated.
Not yet fully implemented.
|
class |
CircularImpactMunition
A Munition that has an area of effect that is a circle centered around its
aim point.
|
class |
CookieCutterSensor
Models a Cookie Cutter Sensor.
|
class |
FormationLeader
The guide point (ZZ) for a formation.
|
protected static class |
FormationMoverManager.SurrogateTarget
A Mover with the minimum functionality to provide the data needed to be
the target Mover in Math2D.getIntercept().
|
class |
SensorContact |
class |
SidedContact
A Contact that contains Side information.
|
class |
SimpleContact
Contains detection information about a Moveable.
|
class |
SimpleTarget
A Target that is only subject to being killed, not damaged.
|
class |
UniformLinearMover
Implementation of Mover with uniform linear motion.
|
Modifier and Type | Field and Description |
---|---|
private Moveable |
BasicWeapon.mover
Deprecated.
|
protected Moveable |
SensorContact.mover
The Moveable that this Contact contains information about.
|
protected Moveable |
SimpleContact.target
The Moveable for which this SimpleContact maintains information.
|
Modifier and Type | Field and Description |
---|---|
private java.util.WeakHashMap<java.lang.Class<? extends Sensor>,java.util.Map<java.lang.Class<? extends Moveable>,SensorTargetMediator>> |
SensorTargetMediatorFactory.cache
Holds the Mediators that have been added to this factory, key by Sensor
and Moveable (target)
|
protected java.util.Set<Moveable> |
CookieCutterSensor.contacts
The Contacts currently being tracked by this Sensor.
|
protected MediatorFactory<Sensor,Moveable,SensorTargetMediator> |
SensorTargetReferee.sensorTargetMediatorFactory
Holds the instance of the SensorTargetMediatorFactory.
|
Modifier and Type | Method and Description |
---|---|
Moveable |
BasicWeapon.getMover()
Deprecated.
|
Moveable |
Weapon.getMover() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Moveable> |
CookieCutterSensor.getContacts()
Returns this Set of contacts currently held by this Sensor.
|
java.util.Set<Moveable> |
Sensor.getContacts() |
static MediatorFactory<Sensor,Moveable,SensorTargetMediator> |
SensorTargetMediatorFactory.getInstance() |
java.util.Map<java.lang.Class<? extends Sensor>,java.util.Map<java.lang.Class<? extends Moveable>,SensorTargetMediator>> |
SensorTargetMediatorFactory.getMediators()
Returns a copy of the HashMap of Mediators that have been added to this
MediatorFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
SensorTargetMediatorFactory.addMediatorFor(Sensor sensor,
Moveable target,
SensorTargetMediator mediatorInstance) |
void |
CookieCutterSensor.doDetection(Moveable contact)
Adds the contact to the list of currently sensed contacts.
|
void |
Sensor.doDetection(Moveable contact)
Sensor Mediators schedule this event with the sensor as the scheduling
entity.
|
void |
AcceleratedMover.doEndMove(Moveable mover)
Deprecated.
|
void |
FormationMoverManager.SurrogateTarget.doEndMove(Moveable mover) |
void |
Mover.doEndMove(Moveable mover)
Event that signals that this Mover has reached its desired location.
|
void |
UniformLinearMover.doEndMove(Moveable mover) |
void |
AcceleratedMover.doStartMove(Moveable mover)
Deprecated.
|
void |
FormationMoverManager.doStartMove(Moveable m)
If heard from the FormationLeader, then pick a new station point and
start moving to it.
|
void |
FormationMoverManager.SurrogateTarget.doStartMove(Moveable mover) |
void |
Mover.doStartMove(Moveable mover)
Event that signals the start of a move to a previously set destination.
|
void |
UniformLinearMover.doStartMove(Moveable mover)
Event that signals the start of a move to previously set destination
|
void |
CookieCutterSensor.doUndetection(Moveable contact)
Removes the given contact from the contacts list.
|
void |
Sensor.doUndetection(Moveable contact)
Sensor Mediators schedule this event with the sensor as the scheduling
entity.
|
Mediator |
SensorTargetMediatorFactory.getMeditorFor(Sensor first,
Moveable second)
Gets the Mediator for the given Sensor and Moveable (target)
|
void |
BasicWeapon.setMover(Moveable mover)
Deprecated.
|
void |
Weapon.setMover(Moveable mover) |
Modifier and Type | Method and Description |
---|---|
static void |
SensorTargetMediatorFactory.addMediator(java.lang.Class<? extends Sensor> sensorClass,
java.lang.Class<? extends Moveable> targetClass,
java.lang.Class<? extends SensorTargetMediator> mediatorClass)
Constructs and adds a Mediator to the MediatorFactory.
|
static void |
SensorTargetMediatorFactory.addMediator(java.lang.Class<? extends Sensor> sensorClass,
java.lang.Class<? extends Moveable> targetClass,
SensorTargetMediator mediatorInstance) |
void |
SensorTargetMediatorFactory.addMediatorFor(java.lang.Class<? extends Sensor> sensorClass,
java.lang.Class<? extends Moveable> targetClass,
java.lang.Class<? extends SensorTargetMediator> mediatorClass)
Constructs and adds a Mediator to this MediatorFactory.
|
<S extends SensorTargetMediator> |
SensorTargetMediatorFactory.addMediatorFor(java.lang.Class<? extends Sensor> sensorClass,
java.lang.Class<? extends Moveable> targetClass,
S mediatorInstance) |
Mediator |
SensorTargetMediatorFactory.getMediatorFor(java.lang.Class<? extends Sensor> sensorClass,
java.lang.Class<? extends Moveable> targetClass)
Gets the Mediator for the given Sensor Class and Moveable Class.
|
Constructor and Description |
---|
SensorContact(Moveable mover)
Creates a new instance of Contact with information about the given
Moveable.
|
SidedContact(Moveable mover,
Side side)
Constructs a new Contact to represent the given Movable.
|
SimpleContact(Moveable mover)
Creates a new SimpleContact with information about the given
Moveable.
|
Modifier and Type | Class and Description |
---|---|
class |
TestShapeTransformIntersectionTests.ThisTestMover |