net.vee.btech.component
Class Cockpit

java.lang.Object
  |
  +--net.vee.btech.component.AbstractComponent
        |
        +--net.vee.btech.component.Cockpit
All Implemented Interfaces:
Component

public class Cockpit
extends AbstractComponent

A 'mech cockpit.


Fields inherited from interface net.vee.btech.component.Component
AMMUNITION_BAY, COCKPIT, ENGINE, GYRO, HEAT_SINK, JUMP_JET, LIFE_SUPPORT, SENSORS, WEAPON
 
Constructor Summary
Cockpit(java.lang.String aType, int aMass, int aSize)
          Constructs a new Cockpit.
 
Method Summary
 java.lang.String getCommunicationsType()
          Returns the cockpit's communications system type.
 int getComponentType()
           
 java.lang.String getLifeSupportType()
          Returns the cockpit's life support system type.
 java.lang.String getTargetingTrackingType()
          Returns the cockpit's targeting and tracking system type.
 void setCommunicationsType(java.lang.String aCommsType)
          Sets the cockpit's communications system type.
 void setLifeSupportType(java.lang.String aLifeSupportType)
          Sets the cockpit's life support system type.
 void setTargetingTrackingType(java.lang.String aTTType)
          Sets the cockpit's targeting and tracking system type.
 
Methods inherited from class net.vee.btech.component.AbstractComponent
getHeat, getMass, getSize, getType, isDamaged, isDestroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cockpit

public Cockpit(java.lang.String aType,
               int aMass,
               int aSize)
Constructs a new Cockpit.
Method Detail

getComponentType

public int getComponentType()

getCommunicationsType

public java.lang.String getCommunicationsType()
Returns the cockpit's communications system type.

setCommunicationsType

public void setCommunicationsType(java.lang.String aCommsType)
Sets the cockpit's communications system type.

getTargetingTrackingType

public java.lang.String getTargetingTrackingType()
Returns the cockpit's targeting and tracking system type.

setTargetingTrackingType

public void setTargetingTrackingType(java.lang.String aTTType)
Sets the cockpit's targeting and tracking system type.

getLifeSupportType

public java.lang.String getLifeSupportType()
Returns the cockpit's life support system type.

setLifeSupportType

public void setLifeSupportType(java.lang.String aLifeSupportType)
Sets the cockpit's life support system type.