Boeing Simulation 3.1 API Specification

objects
Interface Targetable

All Superinterfaces:
Locatable
All Known Subinterfaces:
Destroyable
All Known Implementing Classes:
Bus, School, SimulatorBus, SimulatorSchool, SimulatorTank, Tank

public interface Targetable
extends Locatable

This class should introduce the behavior of being targeted in implementing classes. Note that an object must have a location to be considered as a target. However it does not need to have a dimension.

Version:
$Revision: 1.4 $
Author:
Dave Jurgens

Method Summary
 boolean isTargeted()
          Returns whether this object is currently targeted.
 void setAsTargeted()
          Marks this object as targeted.
 void setAsUntargeted()
          Marks this object as untargeted.
 
Methods inherited from interface objects.Locatable
getDistance, getLoc, isEastOf, isNorthOf, isSouthOf, isWestOf
 

Method Detail

setAsTargeted

public void setAsTargeted()
Marks this object as targeted.


setAsUntargeted

public void setAsUntargeted()
Marks this object as untargeted.


isTargeted

public boolean isTargeted()
Returns whether this object is currently targeted.


Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.