Beispiel #1
0
 // --------------------------------------------------------------------------
 // CONSTRUCTORS
 // --------------------------------------------------------------------------
 public NXTVehicule()
 {
     this.position  = new Point(0);
     this.patients  = 0;
     this.direction = new Point(0);
     this.buffer    = new NXTBuffer();
     this.circuit   = new NXTCircuit();
     IsBusy         = false;
     nxtHelper      = new NXTBluetoothHelper();
 }
Beispiel #2
0
 public NXTVehicule(Point p_position, Point p_direction, NXTCircuit p_circuit)
 {
     this.position  = p_position;
     this.patients  = 0;
     this.direction = p_direction;
     this.buffer    = new NXTBuffer();
     this.circuit   = p_circuit;
     IsBusy         = false;
     nxtHelper      = new NXTBluetoothHelper();
 }