net.vee.btech.unit
Class Structure

java.lang.Object
  |
  +--net.vee.btech.unit.Structure
Direct Known Subclasses:
MechStructure

public abstract class Structure
extends java.lang.Object

Structure is the stuff of which units are built.


Field Summary
protected  Component[] mComponents
           
 
Constructor Summary
Structure()
           
 
Method Summary
 java.util.List getComponents(int aType)
          Returns all components in this location of the given type.
 Component getFirstComponent(int aType)
          Returns the first matching component in this location of the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mComponents

protected Component[] mComponents
Constructor Detail

Structure

public Structure()
Method Detail

getComponents

public java.util.List getComponents(int aType)
Returns all components in this location of the given type.

getFirstComponent

public Component getFirstComponent(int aType)
Returns the first matching component in this location of the given type.