クラス CellTraffic.UnitTraffic

java.lang.Object
  |
  +--Cell.Unit
        |
        +--CellTraffic.UnitTraffic
直系の既知のサブクラス:
CellSTCA.UnitSTCA
含まれているクラス:
CellTraffic

public class CellTraffic.UnitTraffic
extends Cell.Unit


フィールドの概要
(パッケージプライベート)  CellTraffic.Car m_car
           
 
クラス Cell.Unit から継承したフィールド
m_height, m_nStatusTrueCount, m_status, m_statusNext, m_width, m_xOrder, m_xPosition, m_yOrder, m_yPosition, m_zOrder
 
コンストラクタの概要
CellTraffic.UnitTraffic()
           
 
メソッドの概要
(パッケージプライベート)  void copyStatus(Cell.Unit unit)
           
(パッケージプライベート)  void removeCar()
           
(パッケージプライベート)  void setCar(CellTraffic.Car car)
           
(パッケージプライベート)  void setInitialState(boolean status)
          superクラスのmethodのオーバライド。
 
クラス Cell.Unit から継承したメソッド
getStatus, getStatusNext, getStatusTrueColor, getStatusTrueCount, getXOrder, getYOrder, getZOrder, paint, recalc, setDefaultState, setLocation, setOrder, setStatus, setStatusNext, update
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

フィールドの詳細

m_car

CellTraffic.Car m_car
コンストラクタの詳細

CellTraffic.UnitTraffic

public CellTraffic.UnitTraffic()
メソッドの詳細

setCar

void setCar(CellTraffic.Car car)

removeCar

void removeCar()

setInitialState

void setInitialState(boolean status)
superクラスのmethodのオーバライド。 statusがtrueの時は車(class Car)を作成する。
オーバーライド:
クラス Cell.Unit 内の setInitialState

copyStatus

void copyStatus(Cell.Unit unit)
オーバーライド:
クラス Cell.Unit 内の copyStatus