Boeing Simulation 3.1 API Specification

objects
Interface Destroyable

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

public interface Destroyable
extends Targetable

This class is an extension of targetable and is intended to define the behavior of an object when another destroys it.

Version:
$Revision: 1.5 $
Author:
Dave Jurgens

Method Summary
 void destroy()
          Marks this object as being destroyed.
 boolean isDestroyed()
          Returns whether this object has been destroyed.
 
Methods inherited from interface objects.Targetable
isTargeted, setAsTargeted, setAsUntargeted
 
Methods inherited from interface objects.Locatable
getDistance, getLoc, isEastOf, isNorthOf, isSouthOf, isWestOf
 

Method Detail

destroy

public void destroy()
Marks this object as being destroyed.


isDestroyed

public boolean isDestroyed()
Returns whether this object has been destroyed.


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.